Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.00106/0.00106, allocations: 181.1 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.496/1.496, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0007727/0.0007728, allocations: 82.62 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.2138/0.2138, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.374e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 58.86 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.5148, allocations: 86.96 MB / 0.551 GB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.5151, allocations: 78.28 kB / 0.551 GB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.5274, allocations: 5.363 MB / 0.5563 GB, free: 3.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5274, allocations: 4 kB / 0.5563 GB, free: 3.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.5274, allocations: 7.938 kB / 0.5563 GB, free: 3.395 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.0003308/0.5278, allocations: 402.2 kB / 0.5567 GB, free: 2.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.5278, allocations: 8.031 kB / 0.5567 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.5279, allocations: 11.91 kB / 0.5567 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.5281, allocations: 221.5 kB / 0.5569 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.5282, allocations: 4 kB / 0.5569 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.5282, allocations: 4 kB / 0.5569 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.842e-05/0.5283, allocations: 15.5 kB / 0.5569 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.086e-05/0.5283, allocations: 48.92 kB / 0.557 GB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5284, allocations: 0 / 0.557 GB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5284, allocations: 4 kB / 0.557 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5284, allocations: 0 / 0.557 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.5287, allocations: 274 kB / 0.5572 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/0.5287, allocations: 52.81 kB / 0.5573 GB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.5288, allocations: 17.17 kB / 0.5573 GB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.5288, allocations: 4 kB / 0.5573 GB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.902e-05/0.5289, allocations: 66.02 kB / 0.5574 GB, free: 2.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.5289, allocations: 0 / 0.5574 GB, free: 2.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003357/0.5292, allocations: 153.8 kB / 0.5575 GB, free: 2.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.56e-05/0.5293, allocations: 59.34 kB / 0.5576 GB, free: 2.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.5294, allocations: 183 kB / 0.5577 GB, free: 1.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.5294, allocations: 25.7 kB / 0.5578 GB, free: 1.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.5295, allocations: 105.9 kB / 0.5579 GB, free: 1.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.5295, allocations: 27.08 kB / 0.5579 GB, free: 1.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5295, allocations: 0 / 0.5579 GB, free: 1.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.5296, allocations: 326.3 kB / 0.5582 GB, free: 1.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.5296, allocations: 19.69 kB / 0.5582 GB, free: 1.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.5297, allocations: 35.78 kB / 0.5583 GB, free: 1.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.5297, allocations: 23.11 kB / 0.5583 GB, free: 1.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5297, allocations: 0 / 0.5583 GB, free: 1.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001198/0.5298, allocations: 83.16 kB / 0.5584 GB, free: 1.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5299, allocations: 8 kB / 0.5584 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.5299, allocations: 3.938 kB / 0.5584 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.5299, allocations: 0 / 0.5584 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.53, allocations: 15.98 kB / 0.5584 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.53, allocations: 8.031 kB / 0.5584 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.53, allocations: 192 / 0.5584 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.53, allocations: 11.95 kB / 0.5584 GB, free: 1.184 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.35e-05/0.5301, allocations: 106.4 kB / 0.5585 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001115/0.5302, allocations: 99.05 kB / 0.5586 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.5302, allocations: 7.906 kB / 0.5586 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.5304, allocations: 111.8 kB / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5304, allocations: 4 kB / 0.5587 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5304, allocations: 7.953 kB / 0.5587 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5304, allocations: 0 / 0.5587 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.5307, allocations: 376.8 kB / 0.5591 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5308, allocations: 0 / 0.5591 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.5308, allocations: 11.94 kB / 0.5591 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.5308, allocations: 4 kB / 0.5591 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.5308, allocations: 3.984 kB / 0.5591 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5308, allocations: 3.953 kB / 0.5591 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5308, allocations: 4.031 kB / 0.5591 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.531, allocations: 219.3 kB / 0.5593 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.531, allocations: 92.48 kB / 0.5594 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.5311, allocations: 11.94 kB / 0.5594 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.5311, allocations: 3.938 kB / 0.5594 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.5312, allocations: 11.98 kB / 0.5594 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5312, allocations: 7.812 kB / 0.5594 GB, free: 116 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.5313, allocations: 145.1 kB / 0.5596 GB, free: 15.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5313, allocations: 0 / 0.5596 GB, free: 15.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.5315, allocations: 27.94 kB / 0.5596 GB, free: 15.96 MB / 378.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.001142/0.5327, allocations: 1.099 MB / 0.5607 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.5328, allocations: 58.05 kB / 0.5607 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5328, allocations: 0 / 0.5607 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.5329, allocations: 27 kB / 0.5608 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.5331, allocations: 22.73 kB / 0.5608 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.5336, allocations: 219.6 kB / 0.561 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.5338, allocations: 0.712 MB / 0.5617 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.5339, allocations: 23.61 kB / 0.5617 GB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.534, allocations: 34.61 kB / 0.5617 GB, free: 13.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.534, allocations: 0 / 0.5617 GB, free: 13.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.5535, allocations: 2.721 MB / 0.5644 GB, free: 11.12 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.5537, allocations: 158.5 kB / 0.5646 GB, free: 10.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/1.994, allocations: 3.938 kB / 0.5646 GB, free: 10.93 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat