Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",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.001469/0.001469, allocations: 177.8 kB / 8.36 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.045/2.045, 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.001112/0.001111, allocations: 88.08 kB / 262.1 MB, free: 13.87 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.3089/0.3089, allocations: 43.5 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.26e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4635, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.6427, allocations: 86.97 MB / 0.5509 GB, free: 12.22 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.6431, allocations: 71.95 kB / 0.551 GB, free: 12.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02352/0.6666, allocations: 5.327 MB / 0.5562 GB, free: 6.828 MB / 395.1 MB Notification: Performance of FrontEnd: time 5.059e-06/0.6667, allocations: 4 kB / 0.5562 GB, free: 6.824 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.6667, allocations: 11.86 kB / 0.5562 GB, free: 6.812 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.0005988/0.6673, allocations: 394.9 kB / 0.5566 GB, free: 6.383 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6674, allocations: 8.031 kB / 0.5566 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.6675, allocations: 7.906 kB / 0.5566 GB, free: 6.367 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.6679, allocations: 225.5 kB / 0.5568 GB, free: 6.109 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.6679, allocations: 4 kB / 0.5568 GB, free: 6.105 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.668, allocations: 0 / 0.5568 GB, free: 6.105 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.611e-05/0.6681, allocations: 19.98 kB / 0.5568 GB, free: 6.086 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.6682, allocations: 49.69 kB / 0.5569 GB, free: 6.031 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6682, allocations: 3.984 kB / 0.5569 GB, free: 6.027 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.6683, allocations: 7.938 kB / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.6683, allocations: 0 / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.6688, allocations: 265.5 kB / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.6689, allocations: 50.62 kB / 0.5572 GB, free: 5.664 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.669, allocations: 16.98 kB / 0.5572 GB, free: 5.645 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.669, allocations: 8 kB / 0.5572 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.6692, allocations: 67.39 kB / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.6692, allocations: 0 / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006365/0.6699, allocations: 149.1 kB / 0.5574 GB, free: 5.406 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.6699, allocations: 59.34 kB / 0.5575 GB, free: 5.336 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.6702, allocations: 162.9 kB / 0.5576 GB, free: 5.172 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.6703, allocations: 29.7 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.6704, allocations: 166.6 kB / 0.5578 GB, free: 4.973 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.6705, allocations: 23.7 kB / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.6705, allocations: 0 / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6706, allocations: 310.8 kB / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.6707, allocations: 23.98 kB / 0.5582 GB, free: 4.613 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.6708, allocations: 29.72 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.6709, allocations: 23.92 kB / 0.5582 GB, free: 4.555 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6709, allocations: 4 kB / 0.5582 GB, free: 4.551 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002327/0.6711, allocations: 85.58 kB / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6712, allocations: 8 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6712, allocations: 0 / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6712, allocations: 0 / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.6714, allocations: 19.92 kB / 0.5583 GB, free: 4.434 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.6714, allocations: 4 kB / 0.5583 GB, free: 4.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.6715, allocations: 0 / 0.5583 GB, free: 4.43 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.6716, allocations: 7.953 kB / 0.5584 GB, free: 4.422 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.0001237/0.6717, allocations: 113 kB / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002412/0.6719, allocations: 89.58 kB / 0.5585 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.672, allocations: 7.906 kB / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.6723, allocations: 122.2 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6724, allocations: 0 / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6724, allocations: 4.047 kB / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6724, allocations: 7.938 kB / 0.5587 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.6731, allocations: 371.9 kB / 0.559 GB, free: 3.656 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6731, allocations: 4.031 kB / 0.559 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.6732, allocations: 12 kB / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.6732, allocations: 0 / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.6732, allocations: 0 / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.6732, allocations: 3.953 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.6732, allocations: 7.938 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.6736, allocations: 210 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.6737, allocations: 92.91 kB / 0.5594 GB, free: 3.289 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.6737, allocations: 7.953 kB / 0.5594 GB, free: 3.281 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6739, allocations: 3.938 kB / 0.5594 GB, free: 3.277 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.6739, allocations: 11.92 kB / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.6739, allocations: 8 kB / 0.5594 GB, free: 3.258 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.6741, allocations: 139.4 kB / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6742, allocations: 0 / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.6745, allocations: 24 kB / 0.5595 GB, free: 3.098 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.001787/0.6763, allocations: 1.111 MB / 0.5606 GB, free: 2.008 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.6766, allocations: 55.92 kB / 0.5607 GB, free: 1.953 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6766, allocations: 0 / 0.5607 GB, free: 1.953 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.6767, allocations: 24.12 kB / 0.5607 GB, free: 1.93 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.6771, allocations: 27.83 kB / 0.5607 GB, free: 1.902 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.6779, allocations: 264.4 kB / 0.561 GB, free: 1.59 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.6783, allocations: 0.7041 MB / 0.5617 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.6784, allocations: 35.42 kB / 0.5617 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6784, allocations: 0 / 0.5617 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.648/3.327, allocations: 2.456 MB / 0.5641 GB, free: 14.38 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat