Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",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.001483/0.001482, allocations: 178.4 kB / 8.362 MB, free: 0.7148 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.988/1.988, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 86.88 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3619/0.3619, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.576e-05, allocations: 8 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4298, allocations: 58.84 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.6205, allocations: 86.93 MB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.6209, allocations: 79.45 kB / 0.551 GB, free: 12.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02382/0.6447, allocations: 5.185 MB / 0.556 GB, free: 7.02 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6447, allocations: 0 / 0.556 GB, free: 7.02 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.6448, allocations: 4 kB / 0.556 GB, free: 7.016 MB / 395.1 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.000603/0.6454, allocations: 398.8 kB / 0.5564 GB, free: 6.582 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6455, allocations: 12.03 kB / 0.5564 GB, free: 6.57 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.6455, allocations: 7.906 kB / 0.5564 GB, free: 6.562 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.6459, allocations: 210.8 kB / 0.5566 GB, free: 6.316 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.646, allocations: 0 / 0.5566 GB, free: 6.316 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.646, allocations: 4 kB / 0.5566 GB, free: 6.312 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.558e-05/0.6461, allocations: 23.92 kB / 0.5567 GB, free: 6.289 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.6462, allocations: 45.69 kB / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.6463, allocations: 0 / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6463, allocations: 7.938 kB / 0.5567 GB, free: 6.23 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6463, allocations: 0 / 0.5567 GB, free: 6.23 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.6469, allocations: 273.3 kB / 0.557 GB, free: 5.926 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.6471, allocations: 54.61 kB / 0.557 GB, free: 5.863 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.6471, allocations: 24.97 kB / 0.557 GB, free: 5.836 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.6472, allocations: 0 / 0.557 GB, free: 5.836 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.6474, allocations: 63.41 kB / 0.5571 GB, free: 5.762 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.365e-06/0.6474, allocations: 3.938 kB / 0.5571 GB, free: 5.758 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006255/0.648, allocations: 153.2 kB / 0.5573 GB, free: 5.602 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.6481, allocations: 51.41 kB / 0.5573 GB, free: 5.539 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.6483, allocations: 157.4 kB / 0.5575 GB, free: 5.379 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.6484, allocations: 29.7 kB / 0.5575 GB, free: 5.344 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.6485, allocations: 158.6 kB / 0.5576 GB, free: 5.188 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.6485, allocations: 27.66 kB / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.6485, allocations: 0 / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6487, allocations: 318.8 kB / 0.558 GB, free: 4.84 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.6488, allocations: 16 kB / 0.558 GB, free: 4.824 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.6489, allocations: 33.72 kB / 0.558 GB, free: 4.785 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.151e-05/0.6489, allocations: 19.98 kB / 0.558 GB, free: 4.766 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.649, allocations: 0 / 0.558 GB, free: 4.766 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002171/0.6492, allocations: 85.62 kB / 0.5581 GB, free: 4.676 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6492, allocations: 8 kB / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6492, allocations: 0 / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.6493, allocations: 0 / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.6494, allocations: 15.98 kB / 0.5581 GB, free: 4.652 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6495, allocations: 4 kB / 0.5581 GB, free: 4.648 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.6495, allocations: 0 / 0.5581 GB, free: 4.648 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.6496, allocations: 7.953 kB / 0.5581 GB, free: 4.641 MB / 395.1 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 0.000106/0.6497, allocations: 112.9 kB / 0.5583 GB, free: 4.523 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002242/0.6499, allocations: 97.61 kB / 0.5583 GB, free: 4.422 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.65, allocations: 11.81 kB / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.6503, allocations: 110.6 kB / 0.5585 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6503, allocations: 0 / 0.5585 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6503, allocations: 4.047 kB / 0.5585 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6503, allocations: 3.938 kB / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.651, allocations: 371.9 kB / 0.5588 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.651, allocations: 8.031 kB / 0.5588 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.6511, allocations: 8 kB / 0.5588 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.6511, allocations: 0 / 0.5588 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.6511, allocations: 0 / 0.5588 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6512, allocations: 7.953 kB / 0.5588 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6512, allocations: 0 / 0.5588 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.6515, allocations: 217.9 kB / 0.5591 GB, free: 3.613 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.515e-05/0.6516, allocations: 92.94 kB / 0.5591 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.6517, allocations: 7.953 kB / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.6518, allocations: 4 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.6519, allocations: 7.984 kB / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.6519, allocations: 4 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.6521, allocations: 128.1 kB / 0.5593 GB, free: 3.355 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.828e-06/0.6521, allocations: 0 / 0.5593 GB, free: 3.355 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.6525, allocations: 31.88 kB / 0.5593 GB, free: 3.324 MB / 395.1 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.001748/0.6542, allocations: 1.101 MB / 0.5604 GB, free: 2.242 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.6545, allocations: 59.92 kB / 0.5605 GB, free: 2.184 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6545, allocations: 0 / 0.5605 GB, free: 2.184 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.6546, allocations: 24 kB / 0.5605 GB, free: 2.16 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.6551, allocations: 28.7 kB / 0.5605 GB, free: 2.133 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.6558, allocations: 237.4 kB / 0.5607 GB, free: 1.848 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.6562, allocations: 0.7041 MB / 0.5614 GB, free: 1.117 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.6564, allocations: 35.42 kB / 0.5615 GB, free: 1.082 MB / 395.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6564, allocations: 0 / 0.5615 GB, free: 1.082 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.622/3.278, allocations: 2.392 MB / 0.5638 GB, free: 14.7 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat