Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.001084/0.001085, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.49/1.49, 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.0009791/0.000979, allocations: 90.61 kB / 261.7 MB, free: 1.68 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.2063/0.2063, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.282e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5606, allocations: 86.92 MB / 0.5509 GB, free: 7.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.5608, allocations: 76.92 kB / 0.551 GB, free: 7.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.5729, allocations: 5.14 MB / 0.556 GB, free: 3.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5729, allocations: 0 / 0.556 GB, free: 3.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.5729, allocations: 7.938 kB / 0.556 GB, free: 3.605 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003419/0.5733, allocations: 393.4 kB / 0.5564 GB, free: 3.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5733, allocations: 12.03 kB / 0.5564 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.5734, allocations: 11.91 kB / 0.5564 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.5736, allocations: 207.1 kB / 0.5566 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5736, allocations: 0 / 0.5566 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.5737, allocations: 4 kB / 0.5566 GB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.596e-05/0.5737, allocations: 10.81 kB / 0.5566 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/0.5738, allocations: 59.78 kB / 0.5567 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5738, allocations: 0 / 0.5567 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5738, allocations: 3.188 kB / 0.5567 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5739, allocations: 4 kB / 0.5567 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.5741, allocations: 268.4 kB / 0.5569 GB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.5742, allocations: 56 kB / 0.557 GB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.5743, allocations: 16.61 kB / 0.557 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.5743, allocations: 3.938 kB / 0.557 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.5744, allocations: 70.33 kB / 0.5571 GB, free: 2.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5744, allocations: 0 / 0.5571 GB, free: 2.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003714/0.5748, allocations: 137.4 kB / 0.5572 GB, free: 2.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.5748, allocations: 55.34 kB / 0.5573 GB, free: 2.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5749, allocations: 149.6 kB / 0.5574 GB, free: 2.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.575, allocations: 25.7 kB / 0.5574 GB, free: 2.066 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.575, allocations: 103.1 kB / 0.5575 GB, free: 1.973 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.575, allocations: 18.72 kB / 0.5576 GB, free: 1.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.575, allocations: 4 kB / 0.5576 GB, free: 1.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.5751, allocations: 318.5 kB / 0.5579 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.5751, allocations: 19.31 kB / 0.5579 GB, free: 1.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.5752, allocations: 37.02 kB / 0.5579 GB, free: 1.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.5752, allocations: 15.94 kB / 0.5579 GB, free: 1.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5752, allocations: 0 / 0.5579 GB, free: 1.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.5753, allocations: 96.75 kB / 0.558 GB, free: 1.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5753, allocations: 8.031 kB / 0.558 GB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5753, allocations: 4.188 kB / 0.558 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5754, allocations: 0 / 0.558 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.5755, allocations: 15.94 kB / 0.558 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5755, allocations: 7.984 kB / 0.5581 GB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.5755, allocations: 3.906 kB / 0.5581 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.5755, allocations: 7.953 kB / 0.5581 GB, free: 1.453 MB / 362.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 (10): * Single equations (assignments): 10 * 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.358e-05/0.5756, allocations: 104.9 kB / 0.5582 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001039/0.5757, allocations: 93.64 kB / 0.5583 GB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.5757, allocations: 15.91 kB / 0.5583 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.5759, allocations: 104.3 kB / 0.5584 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.5759, allocations: 4 kB / 0.5584 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5759, allocations: 3.953 kB / 0.5584 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5759, allocations: 0 / 0.5584 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.5762, allocations: 363 kB / 0.5587 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.5762, allocations: 4 kB / 0.5587 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.5762, allocations: 8 kB / 0.5587 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5762, allocations: 4.031 kB / 0.5587 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.5763, allocations: 0 / 0.5587 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5763, allocations: 7.953 kB / 0.5587 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5763, allocations: 3.984 kB / 0.5588 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.5764, allocations: 210.5 kB / 0.559 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.5765, allocations: 88.52 kB / 0.559 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.5765, allocations: 8.141 kB / 0.559 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.5766, allocations: 15.92 kB / 0.5591 GB, free: 424 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.5766, allocations: 4 kB / 0.5591 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.5766, allocations: 4 kB / 0.5591 GB, free: 416 kB / 362.7 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.5767, allocations: 129.6 kB / 0.5592 GB, free: 304 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5767, allocations: 0 / 0.5592 GB, free: 304 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.5769, allocations: 23.94 kB / 0.5592 GB, free: 280 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001205/0.5781, allocations: 1.107 MB / 0.5603 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.5783, allocations: 52.36 kB / 0.5603 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5783, allocations: 0 / 0.5603 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.5783, allocations: 26.56 kB / 0.5604 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.5786, allocations: 19.73 kB / 0.5604 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.579, allocations: 211.2 kB / 0.5606 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.5794, allocations: 0.7002 MB / 0.5613 GB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.5794, allocations: 12.55 kB / 0.5613 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.5795, allocations: 32.86 kB / 0.5613 GB, free: 14.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5795, allocations: 4 kB / 0.5613 GB, free: 14.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.6025, allocations: 2.507 MB / 0.5638 GB, free: 11.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.6027, allocations: 169.3 kB / 0.5639 GB, free: 11.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.093, allocations: 0 / 0.5639 GB, free: 11.46 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat