Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 182.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008548/0.0008545, allocations: 78.62 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4487/0.4487, allocations: 43.46 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.508e-05/4.512e-05, allocations: 7.984 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1494, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.6575, allocations: 87.46 MB / 0.5583 GB, free: 16.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.6578, allocations: 74.84 kB / 0.5584 GB, free: 16.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.6733, allocations: 5.524 MB / 0.5638 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6734, allocations: 0 / 0.5638 GB, free: 13.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.6734, allocations: 0 / 0.5638 GB, free: 13.39 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005158/0.6739, allocations: 414.6 kB / 0.5642 GB, free: 12.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.674, allocations: 8.031 kB / 0.5642 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.6741, allocations: 35.83 kB / 0.5642 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.6741, allocations: 19.25 kB / 0.5642 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.6745, allocations: 226.8 kB / 0.5645 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.6745, allocations: 0 / 0.5645 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.6745, allocations: 7.984 kB / 0.5645 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.6747, allocations: 47.52 kB / 0.5645 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6747, allocations: 0 / 0.5645 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.6747, allocations: 1.406 kB / 0.5645 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6747, allocations: 5.375 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.6748, allocations: 13.47 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.675, allocations: 200.1 kB / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.6752, allocations: 51.97 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.6752, allocations: 16.8 kB / 0.5648 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.6752, allocations: 4 kB / 0.5648 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.6754, allocations: 71.05 kB / 0.5649 GB, free: 12.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.6754, allocations: 0 / 0.5649 GB, free: 12.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002466/0.6756, allocations: 81.81 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.6757, allocations: 55.39 kB / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.676, allocations: 237.2 kB / 0.5652 GB, free: 11.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.676, allocations: 29.64 kB / 0.5652 GB, free: 11.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.676, allocations: 111.1 kB / 0.5654 GB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.6761, allocations: 7.812 kB / 0.5654 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.6761, allocations: 3.938 kB / 0.5654 GB, free: 11.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.6762, allocations: 334.7 kB / 0.5657 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.6762, allocations: 15.81 kB / 0.5657 GB, free: 11.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.6763, allocations: 31.52 kB / 0.5657 GB, free: 11.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.6763, allocations: 11.94 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6763, allocations: 0 / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001413/0.6765, allocations: 85.28 kB / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6765, allocations: 4 kB / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6765, allocations: 4.031 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.6765, allocations: 7.984 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.6766, allocations: 8 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.6767, allocations: 0 / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.6767, allocations: 7.906 kB / 0.5659 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.6768, allocations: 4 kB / 0.5659 GB, free: 11.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/0.6768, allocations: 109.1 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.6769, allocations: 15.89 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.677, allocations: 94.86 kB / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6771, allocations: 4 kB / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6771, allocations: 4 kB / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6771, allocations: 0 / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.6773, allocations: 212.1 kB / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6773, allocations: 0 / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.6773, allocations: 11.98 kB / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6773, allocations: 0 / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6773, allocations: 0 / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6773, allocations: 0 / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6773, allocations: 0 / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.6775, allocations: 121.9 kB / 0.5664 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.6776, allocations: 100.8 kB / 0.5665 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.6776, allocations: 3.984 kB / 0.5665 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.6777, allocations: 4 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.6778, allocations: 4.188 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.6778, allocations: 11.92 kB / 0.5665 GB, free: 10.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.678, allocations: 199.8 kB / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.678, allocations: 0 / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.6782, allocations: 31.56 kB / 0.5667 GB, free: 10.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.6796, allocations: 0.93 MB / 0.5676 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.6797, allocations: 35.31 kB / 0.5677 GB, free: 9.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6797, allocations: 4 kB / 0.5677 GB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.6798, allocations: 31.61 kB / 0.5677 GB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6801, allocations: 24.86 kB / 0.5677 GB, free: 9.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006798/0.6808, allocations: 262.8 kB / 0.568 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.681, allocations: 0.7237 MB / 0.5687 GB, free: 8.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.6811, allocations: 16.42 kB / 0.5687 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.6812, allocations: 41.42 kB / 0.5688 GB, free: 8.383 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6812, allocations: 4 kB / 0.5688 GB, free: 8.379 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.6989, allocations: 3.136 MB / 0.5718 GB, free: 5.273 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.6992, allocations: 187.6 kB / 0.572 GB, free: 5.047 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.335, allocations: 0 / 0.572 GB, free: 5.047 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat