Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",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.0009544/0.0009544, 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.408/1.408, 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.000927/0.0009266, allocations: 82.64 kB / 261.7 MB, free: 1.688 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.2057/0.2057, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.213e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5259, allocations: 86.96 MB / 0.551 GB, free: 7.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.5262, allocations: 75.28 kB / 0.551 GB, free: 7.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01243/0.5386, allocations: 5.333 MB / 0.5562 GB, free: 3.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5387, allocations: 0 / 0.5562 GB, free: 3.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.5387, allocations: 3.938 kB / 0.5562 GB, free: 3.492 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.0003374/0.539, allocations: 402.4 kB / 0.5566 GB, free: 3.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5391, allocations: 12.03 kB / 0.5566 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.5391, allocations: 7.906 kB / 0.5566 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.5394, allocations: 219.8 kB / 0.5569 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.5394, allocations: 0 / 0.5569 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.5394, allocations: 8 kB / 0.5569 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.219e-05/0.5395, allocations: 15.11 kB / 0.5569 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.028e-05/0.5396, allocations: 48.19 kB / 0.5569 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5396, allocations: 0 / 0.5569 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5396, allocations: 0 / 0.5569 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5396, allocations: 4 kB / 0.5569 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.5399, allocations: 275.4 kB / 0.5572 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.974e-05/0.54, allocations: 54.12 kB / 0.5572 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.5401, allocations: 19.05 kB / 0.5573 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.5401, allocations: 0 / 0.5573 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.5402, allocations: 64.83 kB / 0.5573 GB, free: 2.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5402, allocations: 0 / 0.5573 GB, free: 2.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003921/0.5406, allocations: 150.9 kB / 0.5575 GB, free: 2.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.5407, allocations: 59.34 kB / 0.5575 GB, free: 2.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5408, allocations: 174.7 kB / 0.5577 GB, free: 1.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.5408, allocations: 25.7 kB / 0.5577 GB, free: 1.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.5409, allocations: 98.56 kB / 0.5578 GB, free: 1.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.5409, allocations: 23.39 kB / 0.5578 GB, free: 1.816 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5409, allocations: 0 / 0.5578 GB, free: 1.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.541, allocations: 326.5 kB / 0.5581 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.541, allocations: 15.31 kB / 0.5582 GB, free: 1.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.541, allocations: 39.22 kB / 0.5582 GB, free: 1.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.726e-05/0.5411, allocations: 17.8 kB / 0.5582 GB, free: 1.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5411, allocations: 0 / 0.5582 GB, free: 1.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001158/0.5412, allocations: 97.91 kB / 0.5583 GB, free: 1.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5412, allocations: 4 kB / 0.5583 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5412, allocations: 3.984 kB / 0.5583 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5413, allocations: 4 kB / 0.5583 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.5414, allocations: 19.92 kB / 0.5583 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5414, allocations: 0 / 0.5583 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.5414, allocations: 8.031 kB / 0.5583 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.5414, allocations: 7.953 kB / 0.5583 GB, free: 1.309 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.984e-05/0.5415, allocations: 101.2 kB / 0.5584 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001142/0.5416, allocations: 91.95 kB / 0.5585 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.5416, allocations: 19.75 kB / 0.5586 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.5418, allocations: 118.1 kB / 0.5587 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5418, allocations: 0 / 0.5587 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5418, allocations: 3.953 kB / 0.5587 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5419, allocations: 4 kB / 0.5587 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.5421, allocations: 374.6 kB / 0.559 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5421, allocations: 0 / 0.559 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.5422, allocations: 8 kB / 0.559 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5422, allocations: 0 / 0.559 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.5422, allocations: 4 kB / 0.559 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5422, allocations: 7.891 kB / 0.559 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5422, allocations: 0 / 0.559 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.5424, allocations: 207.2 kB / 0.5592 GB, free: 396 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.5424, allocations: 104.2 kB / 0.5593 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.5424, allocations: 3.953 kB / 0.5593 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.5425, allocations: 7.938 kB / 0.5594 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.5425, allocations: 7.984 kB / 0.5594 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5426, allocations: 3.312 kB / 0.5594 GB, free: 256 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.266e-05/0.5426, allocations: 141.4 kB / 0.5595 GB, free: 132 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5426, allocations: 0 / 0.5595 GB, free: 132 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.5429, allocations: 24 kB / 0.5595 GB, free: 108 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.001225/0.5441, allocations: 1.104 MB / 0.5606 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.5442, allocations: 59.62 kB / 0.5607 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5443, allocations: 0 / 0.5607 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.5443, allocations: 26.56 kB / 0.5607 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.5446, allocations: 23.34 kB / 0.5607 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.5451, allocations: 223.5 kB / 0.5609 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.5454, allocations: 0.7113 MB / 0.5616 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.5454, allocations: 20.84 kB / 0.5616 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.5455, allocations: 34.17 kB / 0.5617 GB, free: 13.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5455, allocations: 0 / 0.5617 GB, free: 13.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.5678, allocations: 2.642 MB / 0.5642 GB, free: 11.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.5681, allocations: 166.5 kB / 0.5644 GB, free: 11.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.121, allocations: 3.938 kB / 0.5644 GB, free: 11.12 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat