Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001683, allocations: 188.5 kB / 7.803 MB, free: 2.488 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.195/1.195, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009085/0.0009085, allocations: 96.42 kB / 261.4 MB, free: 13.54 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.1754/0.1754, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1813/0.3568, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.6102, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.7217, allocations: 87.16 MB / 0.5506 GB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.722, allocations: 67.97 kB / 0.5507 GB, free: 11.68 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.02139/0.7434, allocations: 7.808 MB / 0.5583 GB, free: 3.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.7434, allocations: 12 kB / 0.5583 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.7435, allocations: 7.906 kB / 0.5583 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.7438, allocations: 214.1 kB / 0.5585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.7438, allocations: 0 / 0.5585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.7439, allocations: 4 kB / 0.5585 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.458e-05/0.744, allocations: 23.91 kB / 0.5586 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.7441, allocations: 67.33 kB / 0.5586 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7441, allocations: 0 / 0.5586 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.7441, allocations: 0 / 0.5586 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7441, allocations: 0 / 0.5586 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.7445, allocations: 265.4 kB / 0.5589 GB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.7446, allocations: 54.62 kB / 0.5589 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.7446, allocations: 16.98 kB / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.7447, allocations: 0 / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.395e-05/0.7448, allocations: 63.39 kB / 0.559 GB, free: 3.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.7448, allocations: 0 / 0.559 GB, free: 3.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004033/0.7452, allocations: 121.4 kB / 0.5591 GB, free: 2.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.7452, allocations: 96.94 kB / 0.5592 GB, free: 2.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.7454, allocations: 137 kB / 0.5593 GB, free: 2.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.7454, allocations: 25.7 kB / 0.5594 GB, free: 2.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.7454, allocations: 84.12 kB / 0.5594 GB, free: 2.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.7455, allocations: 31.58 kB / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.7455, allocations: 0 / 0.5595 GB, free: 2.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.7456, allocations: 318.8 kB / 0.5598 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.7456, allocations: 23.98 kB / 0.5598 GB, free: 2.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.7457, allocations: 38.58 kB / 0.5598 GB, free: 2.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.7458, allocations: 28.05 kB / 0.5599 GB, free: 2.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.7458, allocations: 0 / 0.5599 GB, free: 2.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.7459, allocations: 85.53 kB / 0.5599 GB, free: 1.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.7459, allocations: 8 kB / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7459, allocations: 0 / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.746, allocations: 3.906 kB / 0.56 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.7461, allocations: 19.98 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7461, allocations: 8.062 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.7461, allocations: 192 / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.7462, allocations: 4 kB / 0.56 GB, free: 1.93 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 () * 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 7.729e-05/0.7462, allocations: 114.3 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.7463, allocations: 7.906 kB / 0.5601 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.7465, allocations: 98.06 kB / 0.5602 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7465, allocations: 4 kB / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7465, allocations: 0 / 0.5602 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7465, allocations: 4 kB / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.7469, allocations: 363.8 kB / 0.5606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7469, allocations: 0 / 0.5606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.7469, allocations: 16.11 kB / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.747, allocations: 4 kB / 0.5606 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.747, allocations: 4 kB / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.747, allocations: 0 / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.747, allocations: 0 / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001816/0.7472, allocations: 205.9 kB / 0.5608 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002819/0.7475, allocations: 0.5726 MB / 0.5613 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.7475, allocations: 93 kB / 0.5614 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.7476, allocations: 4 kB / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.7477, allocations: 0 / 0.5614 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.7477, allocations: 11.92 kB / 0.5614 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.7477, allocations: 11.91 kB / 0.5614 GB, free: 308 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.415e-05/0.7478, allocations: 115 kB / 0.5616 GB, free: 196 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008705/0.7487, allocations: 51.86 kB / 0.5616 GB, free: 144 kB / 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) * 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.0008405/0.7495, allocations: 395.8 kB / 0.562 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.7497, allocations: 55.84 kB / 0.562 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7497, allocations: 0 / 0.562 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.7498, allocations: 35.92 kB / 0.5621 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.75, allocations: 23.84 kB / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.7504, allocations: 128.7 kB / 0.5622 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.7508, allocations: 0.7232 MB / 0.5629 GB, free: 14.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7508, allocations: 0 / 0.5629 GB, free: 14.77 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat