Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",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.002146/0.002146, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.032/2.032, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001182/0.001182, allocations: 92.42 kB / 270.9 MB, free: 8.363 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.5482/0.5482, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006992/0.0006992, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.163, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4797/0.6428, allocations: 87.68 MB / 0.5645 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.6432, allocations: 71.97 kB / 0.5645 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02511/0.6683, allocations: 5.335 MB / 0.5697 GB, free: 9.609 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6684, allocations: 4 kB / 0.5697 GB, free: 9.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.6684, allocations: 4 kB / 0.5697 GB, free: 9.602 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000731/0.6691, allocations: 429.7 kB / 0.5701 GB, free: 9.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.6692, allocations: 12.03 kB / 0.5702 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.716e-05/0.6693, allocations: 32.19 kB / 0.5702 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.6694, allocations: 15.25 kB / 0.5702 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.6698, allocations: 207.6 kB / 0.5704 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.6698, allocations: 4 kB / 0.5704 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.6698, allocations: 4 kB / 0.5704 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.67, allocations: 57.66 kB / 0.5705 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.6701, allocations: 3.938 kB / 0.5705 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.6701, allocations: 8 kB / 0.5705 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6701, allocations: 1.031 kB / 0.5705 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.6702, allocations: 23.92 kB / 0.5705 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.6708, allocations: 288.9 kB / 0.5708 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.671, allocations: 67.53 kB / 0.5708 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.6711, allocations: 0 / 0.5708 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.6713, allocations: 71.45 kB / 0.5709 GB, free: 8.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.6713, allocations: 0 / 0.5709 GB, free: 8.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008383/0.6721, allocations: 197 kB / 0.5711 GB, free: 8.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.6722, allocations: 55.41 kB / 0.5711 GB, free: 7.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.6725, allocations: 176.8 kB / 0.5713 GB, free: 7.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.6726, allocations: 29.7 kB / 0.5713 GB, free: 7.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.6727, allocations: 166.5 kB / 0.5715 GB, free: 7.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.6727, allocations: 23.66 kB / 0.5715 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.6727, allocations: 0 / 0.5715 GB, free: 7.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6729, allocations: 318.8 kB / 0.5718 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.673, allocations: 16 kB / 0.5718 GB, free: 7.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.6731, allocations: 41.7 kB / 0.5719 GB, free: 7.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.6733, allocations: 27.98 kB / 0.5719 GB, free: 7.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6733, allocations: 0 / 0.5719 GB, free: 7.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003097/0.6736, allocations: 94.36 kB / 0.572 GB, free: 7.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6736, allocations: 4 kB / 0.572 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6737, allocations: 0 / 0.572 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.6737, allocations: 3.984 kB / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.6739, allocations: 19.94 kB / 0.572 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.6739, allocations: 7.984 kB / 0.572 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.654e-05/0.674, allocations: 8 kB / 0.572 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.674, allocations: 0 / 0.572 GB, free: 7.016 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 (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.0001557/0.6742, allocations: 134 kB / 0.5722 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.6742, allocations: 11.81 kB / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.6746, allocations: 122.9 kB / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6747, allocations: 4 kB / 0.5723 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.6747, allocations: 7.984 kB / 0.5723 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6747, allocations: 3.953 kB / 0.5723 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.6755, allocations: 407.3 kB / 0.5727 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.6755, allocations: 7.938 kB / 0.5727 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.6756, allocations: 11.98 kB / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6756, allocations: 0 / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.6756, allocations: 0 / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.6756, allocations: 7.953 kB / 0.5727 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6756, allocations: 4.031 kB / 0.5727 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.676, allocations: 221.9 kB / 0.5729 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.6761, allocations: 93 kB / 0.573 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.6762, allocations: 3.953 kB / 0.573 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.6763, allocations: 8 kB / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.6764, allocations: 15.92 kB / 0.5731 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.6764, allocations: 0 / 0.5731 GB, free: 5.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.6766, allocations: 156.9 kB / 0.5732 GB, free: 5.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6767, allocations: 0 / 0.5732 GB, free: 5.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003766/0.677, allocations: 35.92 kB / 0.5732 GB, free: 5.664 MB / 394.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) * Number of clocked states: 0 () * 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.002114/0.6792, allocations: 1.201 MB / 0.5744 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.6796, allocations: 63.91 kB / 0.5745 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.6796, allocations: 0 / 0.5745 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.6797, allocations: 31.98 kB / 0.5745 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.6801, allocations: 19.98 kB / 0.5745 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.6821, allocations: 0.9279 MB / 0.5754 GB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.6825, allocations: 0.716 MB / 0.5761 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.6827, allocations: 35.42 kB / 0.5762 GB, free: 2.676 MB / 394.7 MB Notification: Performance of SimCode: time 1.133e-06/0.6827, allocations: 0 / 0.5762 GB, free: 2.676 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.674/3.357, allocations: 2.519 MB / 0.5786 GB, free: 172 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat