Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.001446/0.001446, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.798/1.798, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001021/0.001021, allocations: 86.83 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006115/0.0006112, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1113, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.4397, allocations: 88.71 MB / 0.5655 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4399, allocations: 71.09 kB / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.4515, allocations: 4.261 MB / 0.5697 GB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4515, allocations: 0 / 0.5697 GB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.4515, allocations: 11.98 kB / 0.5697 GB, free: 7.367 MB / 378.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.0005981/0.4521, allocations: 476.1 kB / 0.5702 GB, free: 6.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4522, allocations: 8.031 kB / 0.5702 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.4522, allocations: 34.06 kB / 0.5702 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.4523, allocations: 19.81 kB / 0.5702 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.4526, allocations: 233.2 kB / 0.5705 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4526, allocations: 7.875 kB / 0.5705 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.4526, allocations: 4 kB / 0.5705 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.4529, allocations: 114.4 kB / 0.5706 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4529, allocations: 0 / 0.5706 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4529, allocations: 11.55 kB / 0.5706 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4529, allocations: 4 kB / 0.5706 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4531, allocations: 46.59 kB / 0.5706 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.4536, allocations: 0.5243 MB / 0.5712 GB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.454, allocations: 96.64 kB / 0.5712 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.454, allocations: 0 / 0.5712 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.4542, allocations: 90.08 kB / 0.5713 GB, free: 5.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4542, allocations: 0 / 0.5713 GB, free: 5.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000381/0.4546, allocations: 150.5 kB / 0.5715 GB, free: 5.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.4546, allocations: 59.41 kB / 0.5715 GB, free: 5.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4548, allocations: 175.4 kB / 0.5717 GB, free: 5.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4548, allocations: 25.7 kB / 0.5717 GB, free: 5.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.4549, allocations: 117.6 kB / 0.5718 GB, free: 5.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.4549, allocations: 30.64 kB / 0.5719 GB, free: 5.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.4549, allocations: 0 / 0.5719 GB, free: 5.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.455, allocations: 329.7 kB / 0.5722 GB, free: 4.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.4551, allocations: 31.61 kB / 0.5722 GB, free: 4.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.451e-05/0.4552, allocations: 71.3 kB / 0.5723 GB, free: 4.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.08e-05/0.4553, allocations: 34.61 kB / 0.5723 GB, free: 4.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4553, allocations: 4 kB / 0.5723 GB, free: 4.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002591/0.4556, allocations: 146 kB / 0.5725 GB, free: 4.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4556, allocations: 7.438 kB / 0.5725 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4556, allocations: 0 / 0.5725 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4556, allocations: 7.953 kB / 0.5725 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.4558, allocations: 27.92 kB / 0.5725 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4558, allocations: 4.125 kB / 0.5725 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.4558, allocations: 11.91 kB / 0.5725 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.4559, allocations: 11.86 kB / 0.5725 GB, free: 4.492 MB / 378.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 () * Number of clocked 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 9.576e-05/0.456, allocations: 132.7 kB / 0.5727 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.456, allocations: 11.91 kB / 0.5727 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.4563, allocations: 140.2 kB / 0.5728 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.4563, allocations: 3.953 kB / 0.5728 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4563, allocations: 0 / 0.5728 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4563, allocations: 3.984 kB / 0.5728 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.4565, allocations: 226.8 kB / 0.573 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4565, allocations: 0 / 0.573 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.382e-05/0.4566, allocations: 15.98 kB / 0.573 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4566, allocations: 0 / 0.573 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4566, allocations: 3.875 kB / 0.573 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4566, allocations: 0 / 0.573 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4566, allocations: 3.953 kB / 0.573 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.457, allocations: 199.2 kB / 0.5732 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.457, allocations: 88.8 kB / 0.5733 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4571, allocations: 4 kB / 0.5733 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.4571, allocations: 12.05 kB / 0.5733 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.4572, allocations: 7.984 kB / 0.5733 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4572, allocations: 10.45 kB / 0.5733 GB, free: 3.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.4573, allocations: 138.8 kB / 0.5735 GB, free: 3.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.283e-06/0.4573, allocations: 0 / 0.5735 GB, free: 3.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.4575, allocations: 43.84 kB / 0.5735 GB, free: 3.48 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) * Number of clocked states: 0 () * 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.001344/0.4589, allocations: 1.04 MB / 0.5745 GB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.4592, allocations: 85.52 kB / 0.5746 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4592, allocations: 4.062 kB / 0.5746 GB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.4593, allocations: 43.98 kB / 0.5747 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4596, allocations: 30.78 kB / 0.5747 GB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.461, allocations: 1.461 MB / 0.5761 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.4612, allocations: 0.7273 MB / 0.5768 GB, free: 208 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.346e-05/0.4613, allocations: 21.06 kB / 0.5769 GB, free: 188 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.4614, allocations: 41.8 kB / 0.5769 GB, free: 168 kB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4614, allocations: 0 / 0.5769 GB, free: 168 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.4749, allocations: 3.311 MB / 0.5801 GB, free: 12.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.4752, allocations: 213.8 kB / 0.5803 GB, free: 12.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.092, allocations: 0 / 0.5803 GB, free: 12.64 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat