Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.0009045/0.0009044, allocations: 177.6 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 82.7 kB / 261.7 MB, free: 1.684 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.1831/0.1831, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.247e-05/2.249e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4708, allocations: 87.94 MB / 0.5519 GB, free: 6.887 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4711, allocations: 75.62 kB / 0.552 GB, free: 6.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.4814, allocations: 4.214 MB / 0.5561 GB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4814, allocations: 4 kB / 0.5561 GB, free: 3.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.4814, allocations: 4 kB / 0.5561 GB, free: 3.535 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004193/0.4819, allocations: 458.6 kB / 0.5566 GB, free: 3.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4819, allocations: 8.031 kB / 0.5566 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.482, allocations: 11.91 kB / 0.5566 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.4822, allocations: 237.2 kB / 0.5568 GB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4822, allocations: 4 kB / 0.5568 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.4823, allocations: 12 kB / 0.5568 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.405e-05/0.4824, allocations: 27.12 kB / 0.5568 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4825, allocations: 99.62 kB / 0.5569 GB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.4825, allocations: 0 / 0.5569 GB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4825, allocations: 0 / 0.5569 GB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4825, allocations: 0 / 0.5569 GB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.483, allocations: 0.4997 MB / 0.5574 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.4832, allocations: 75.62 kB / 0.5575 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.4832, allocations: 38.91 kB / 0.5575 GB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.4833, allocations: 3.938 kB / 0.5575 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.4834, allocations: 72.64 kB / 0.5576 GB, free: 1.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4834, allocations: 0 / 0.5576 GB, free: 1.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002008/0.4836, allocations: 102.1 kB / 0.5577 GB, free: 1.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.4836, allocations: 58.47 kB / 0.5578 GB, free: 1.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4838, allocations: 167.6 kB / 0.5579 GB, free: 1.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.4838, allocations: 25.7 kB / 0.5579 GB, free: 1.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.4838, allocations: 109.6 kB / 0.558 GB, free: 1.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.4838, allocations: 31.48 kB / 0.5581 GB, free: 1.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.4839, allocations: 4 kB / 0.5581 GB, free: 1.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.4839, allocations: 325.3 kB / 0.5584 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.484, allocations: 22.69 kB / 0.5584 GB, free: 1.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.484, allocations: 55.84 kB / 0.5585 GB, free: 1.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.674e-05/0.4841, allocations: 34.42 kB / 0.5585 GB, free: 1.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4841, allocations: 0 / 0.5585 GB, free: 1.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001426/0.4842, allocations: 115.4 kB / 0.5586 GB, free: 0.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4843, allocations: 4.125 kB / 0.5586 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4843, allocations: 7.984 kB / 0.5586 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4843, allocations: 4 kB / 0.5586 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.4844, allocations: 23.98 kB / 0.5586 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.4844, allocations: 4.141 kB / 0.5586 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.4845, allocations: 11.94 kB / 0.5587 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.4845, allocations: 7.938 kB / 0.5587 GB, free: 0.8945 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.624e-05/0.4846, allocations: 113 kB / 0.5588 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001207/0.4847, allocations: 103.3 kB / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.4847, allocations: 19.8 kB / 0.5589 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.4849, allocations: 110.7 kB / 0.559 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4849, allocations: 0 / 0.559 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4849, allocations: 0 / 0.559 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4849, allocations: 4 kB / 0.559 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.485, allocations: 185.2 kB / 0.5592 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.485, allocations: 0 / 0.5592 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.549e-05/0.4851, allocations: 15.98 kB / 0.5592 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4851, allocations: 0 / 0.5592 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4851, allocations: 8 kB / 0.5592 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4851, allocations: 0 / 0.5592 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4852, allocations: 3.953 kB / 0.5592 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.4853, allocations: 159.1 kB / 0.5594 GB, free: 208 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.4854, allocations: 100.6 kB / 0.5595 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.4854, allocations: 8 kB / 0.5595 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.4855, allocations: 7.984 kB / 0.5595 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4855, allocations: 8.062 kB / 0.5595 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.4856, allocations: 11.94 kB / 0.5595 GB, free: 56 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.4857, allocations: 130.9 kB / 0.5596 GB, free: 15.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4857, allocations: 4.219 kB / 0.5596 GB, free: 15.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.4859, allocations: 28 kB / 0.5596 GB, free: 15.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001159/0.4871, allocations: 0.9495 MB / 0.5606 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.4872, allocations: 67.3 kB / 0.5606 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4872, allocations: 0 / 0.5606 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.4873, allocations: 27.5 kB / 0.5607 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4876, allocations: 32.09 kB / 0.5607 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.4881, allocations: 240 kB / 0.5609 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.4884, allocations: 0.7162 MB / 0.5616 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.4885, allocations: 21.2 kB / 0.5616 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.4886, allocations: 46.42 kB / 0.5617 GB, free: 13.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4886, allocations: 0 / 0.5617 GB, free: 13.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.5111, allocations: 2.931 MB / 0.5645 GB, free: 10.97 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.5114, allocations: 170.4 kB / 0.5647 GB, free: 10.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.031, allocations: 0 / 0.5647 GB, free: 10.77 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat