Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",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.002175/0.00218, 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 2.094/2.094, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001059/0.001059, allocations: 100.2 kB / 262.1 MB, free: 13.86 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.3/0.3, allocations: 43.48 MB / 353.5 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.471e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.5792, allocations: 86.75 MB / 0.5507 GB, free: 12.45 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5796, allocations: 75.95 kB / 0.5508 GB, free: 12.37 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02286/0.6024, allocations: 5.12 MB / 0.5558 GB, free: 7.254 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6025, allocations: 0 / 0.5558 GB, free: 7.254 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.6025, allocations: 8.547 kB / 0.5558 GB, free: 7.246 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005486/0.6031, allocations: 390.9 kB / 0.5562 GB, free: 6.82 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6031, allocations: 8.031 kB / 0.5562 GB, free: 6.812 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.6032, allocations: 7.906 kB / 0.5562 GB, free: 6.805 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.6036, allocations: 221.5 kB / 0.5564 GB, free: 6.551 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.6037, allocations: 4 kB / 0.5564 GB, free: 6.547 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.6037, allocations: 0 / 0.5564 GB, free: 6.547 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.593e-05/0.6038, allocations: 15.98 kB / 0.5564 GB, free: 6.531 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.6039, allocations: 49.62 kB / 0.5565 GB, free: 6.477 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-06/0.6039, allocations: 0 / 0.5565 GB, free: 6.477 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6039, allocations: 0 / 0.5565 GB, free: 6.477 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.604, allocations: 4 kB / 0.5565 GB, free: 6.473 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.6042, allocations: 158.2 kB / 0.5566 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.6043, allocations: 50.56 kB / 0.5567 GB, free: 6.223 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.6044, allocations: 24.94 kB / 0.5567 GB, free: 6.195 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.6044, allocations: 0 / 0.5567 GB, free: 6.195 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.6046, allocations: 59.41 kB / 0.5567 GB, free: 6.125 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.6046, allocations: 0 / 0.5567 GB, free: 6.125 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002531/0.6049, allocations: 73.58 kB / 0.5568 GB, free: 6.047 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.6049, allocations: 55.41 kB / 0.5569 GB, free: 5.98 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.6052, allocations: 162.9 kB / 0.557 GB, free: 5.816 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.6052, allocations: 25.7 kB / 0.5571 GB, free: 5.785 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.6053, allocations: 166.6 kB / 0.5572 GB, free: 5.621 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.6054, allocations: 23.67 kB / 0.5572 GB, free: 5.598 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.6054, allocations: 0 / 0.5572 GB, free: 5.598 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6055, allocations: 318.8 kB / 0.5575 GB, free: 5.277 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.6056, allocations: 8 kB / 0.5575 GB, free: 5.27 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.6057, allocations: 25.72 kB / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.934e-05/0.6057, allocations: 20.05 kB / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6058, allocations: 8 kB / 0.5576 GB, free: 5.211 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.6059, allocations: 61.64 kB / 0.5577 GB, free: 5.145 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.606, allocations: 8 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.606, allocations: 0 / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.606, allocations: 3.938 kB / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.6061, allocations: 11.98 kB / 0.5577 GB, free: 5.121 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.6062, allocations: 4 kB / 0.5577 GB, free: 5.117 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.6063, allocations: 0 / 0.5577 GB, free: 5.117 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.6063, allocations: 4 kB / 0.5577 GB, free: 5.113 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 (7): * Single equations (assignments): 7 * 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.345e-05/0.6064, allocations: 113 kB / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001813/0.6066, allocations: 85.44 kB / 0.5579 GB, free: 4.906 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.6066, allocations: 7.906 kB / 0.5579 GB, free: 4.898 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.6069, allocations: 90.17 kB / 0.558 GB, free: 4.805 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6069, allocations: 0 / 0.558 GB, free: 4.805 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6069, allocations: 0 / 0.558 GB, free: 4.805 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6069, allocations: 0 / 0.558 GB, free: 4.805 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.6071, allocations: 166.2 kB / 0.5581 GB, free: 4.605 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6071, allocations: 3.953 kB / 0.5581 GB, free: 4.602 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.6072, allocations: 12 kB / 0.5581 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6072, allocations: 4 kB / 0.5581 GB, free: 4.586 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.6072, allocations: 0 / 0.5581 GB, free: 4.586 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6072, allocations: 3.938 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6072, allocations: 3.984 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.6075, allocations: 113.1 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.6076, allocations: 100.9 kB / 0.5584 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.6076, allocations: 0 / 0.5584 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.6077, allocations: 8 kB / 0.5584 GB, free: 4.324 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.6077, allocations: 3.984 kB / 0.5584 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.6078, allocations: 4 kB / 0.5584 GB, free: 4.316 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.6079, allocations: 135.4 kB / 0.5585 GB, free: 4.184 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6079, allocations: 0 / 0.5585 GB, free: 4.184 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.6083, allocations: 31.86 kB / 0.5585 GB, free: 4.152 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001488/0.6098, allocations: 0.8844 MB / 0.5594 GB, free: 3.281 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.61, allocations: 36 kB / 0.5594 GB, free: 3.246 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.61, allocations: 0 / 0.5594 GB, free: 3.246 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.415e-05/0.61, allocations: 19.94 kB / 0.5594 GB, free: 3.227 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.6104, allocations: 31.27 kB / 0.5595 GB, free: 3.199 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.611, allocations: 219.5 kB / 0.5597 GB, free: 2.941 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.6114, allocations: 0.7041 MB / 0.5604 GB, free: 2.211 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.6115, allocations: 31.42 kB / 0.5604 GB, free: 2.18 MB / 395.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6115, allocations: 0 / 0.5604 GB, free: 2.18 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.616/3.228, allocations: 2.19 MB / 0.5625 GB, free: 15.99 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat