Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",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.00156/0.001559, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001203/0.001203, allocations: 92.27 kB / 270.9 MB, free: 8.383 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.6048/0.6048, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005055, allocations: 23.98 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1283, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5198/0.6481, allocations: 87.55 MB / 0.5643 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004088/0.6486, allocations: 75.95 kB / 0.5644 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02565/0.6742, allocations: 5.542 MB / 0.5698 GB, free: 9.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6743, allocations: 0.6562 kB / 0.5698 GB, free: 9.457 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.835e-05/0.6743, allocations: 4 kB / 0.5698 GB, free: 9.453 MB / 394.7 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.0007421/0.6751, allocations: 446.7 kB / 0.5702 GB, free: 8.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.6751, allocations: 8.031 kB / 0.5703 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.6752, allocations: 34.56 kB / 0.5703 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.6753, allocations: 23.23 kB / 0.5703 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.6758, allocations: 224.9 kB / 0.5705 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.6758, allocations: 7.375 kB / 0.5705 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.6758, allocations: 0 / 0.5705 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.676, allocations: 53.67 kB / 0.5706 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.676, allocations: 0 / 0.5706 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6761, allocations: 0 / 0.5706 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6761, allocations: 0 / 0.5706 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.6762, allocations: 20.95 kB / 0.5706 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.6765, allocations: 197.6 kB / 0.5708 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.6768, allocations: 54.61 kB / 0.5708 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.6768, allocations: 4 kB / 0.5708 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.677, allocations: 68.3 kB / 0.5709 GB, free: 8.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.384e-06/0.677, allocations: 0 / 0.5709 GB, free: 8.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004461/0.6775, allocations: 105.7 kB / 0.571 GB, free: 8.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.6776, allocations: 51.41 kB / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.678, allocations: 241.6 kB / 0.5713 GB, free: 7.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.678, allocations: 25.7 kB / 0.5713 GB, free: 7.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.6781, allocations: 170.6 kB / 0.5715 GB, free: 7.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.6782, allocations: 11.89 kB / 0.5715 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.6782, allocations: 4 kB / 0.5715 GB, free: 7.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6783, allocations: 310.8 kB / 0.5718 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.6784, allocations: 12 kB / 0.5718 GB, free: 7.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.6785, allocations: 37.64 kB / 0.5718 GB, free: 7.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.237e-05/0.6787, allocations: 23.94 kB / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6787, allocations: 0 / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002512/0.6789, allocations: 73.59 kB / 0.5719 GB, free: 7.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.679, allocations: 4 kB / 0.5719 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.679, allocations: 0 / 0.5719 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.679, allocations: 4 kB / 0.5719 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.6791, allocations: 15.92 kB / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.6792, allocations: 0 / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.6793, allocations: 8 kB / 0.572 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.6793, allocations: 4 kB / 0.572 GB, free: 7.039 MB / 394.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 () * Number of clocked 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 0.0001814/0.6795, allocations: 141.8 kB / 0.5721 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.6796, allocations: 19.81 kB / 0.5721 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.68, allocations: 98.59 kB / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.68, allocations: 0 / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.68, allocations: 4.75 kB / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.68, allocations: 0 / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.6803, allocations: 205.5 kB / 0.5724 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.904e-06/0.6803, allocations: 7.953 kB / 0.5724 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.6804, allocations: 11.98 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6804, allocations: 0 / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.6804, allocations: 4 kB / 0.5724 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6804, allocations: 0 / 0.5724 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6804, allocations: 3.938 kB / 0.5724 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.6807, allocations: 117.1 kB / 0.5725 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6809, allocations: 100.9 kB / 0.5726 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.6809, allocations: 12.06 kB / 0.5727 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.681, allocations: 4 kB / 0.5727 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.6811, allocations: 11.92 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.6811, allocations: 3.938 kB / 0.5727 GB, free: 6.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003061/0.6814, allocations: 200.2 kB / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6814, allocations: 0 / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004543/0.6819, allocations: 24 kB / 0.5729 GB, free: 5.992 MB / 394.7 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) * Number of clocked states: 0 () * 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.001903/0.6838, allocations: 0.9611 MB / 0.5738 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.6842, allocations: 47.92 kB / 0.5739 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6843, allocations: 0 / 0.5739 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.6844, allocations: 23.98 kB / 0.5739 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.6849, allocations: 25.33 kB / 0.5739 GB, free: 5.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.687, allocations: 1.012 MB / 0.5749 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.6874, allocations: 0.7121 MB / 0.5756 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.6876, allocations: 43.42 kB / 0.5756 GB, free: 3.164 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6876, allocations: 0 / 0.5756 GB, free: 3.164 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.732/3.419, allocations: 2.607 MB / 0.5782 GB, free: 0.5625 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat