Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.001618/0.001618, allocations: 188.8 kB / 7.802 MB, free: 2.496 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.142/1.142, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0009412/0.0009413, allocations: 97.33 kB / 261.4 MB, free: 13.56 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.1692/0.1692, allocations: 43.48 MB / 352.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.17/0.3392, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.5828, allocations: 58.83 MB / 476.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.6952, allocations: 87.16 MB / 0.5506 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.6955, allocations: 75.91 kB / 0.5507 GB, free: 11.77 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.02151/0.717, allocations: 7.797 MB / 0.5583 GB, free: 3.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.717, allocations: 15.94 kB / 0.5583 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.7171, allocations: 7.906 kB / 0.5583 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.7174, allocations: 206.3 kB / 0.5585 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.7174, allocations: 0 / 0.5585 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.7174, allocations: 4 kB / 0.5585 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.164e-05/0.7175, allocations: 15.91 kB / 0.5585 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.7176, allocations: 71.39 kB / 0.5586 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7176, allocations: 3.984 kB / 0.5586 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.7176, allocations: 3.938 kB / 0.5586 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.7176, allocations: 0 / 0.5586 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.718, allocations: 269.4 kB / 0.5589 GB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.7181, allocations: 46.7 kB / 0.5589 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.7182, allocations: 24.97 kB / 0.5589 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.7182, allocations: 0 / 0.5589 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.839e-05/0.7183, allocations: 63.34 kB / 0.559 GB, free: 3.102 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.7183, allocations: 0 / 0.559 GB, free: 3.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004031/0.7187, allocations: 125.4 kB / 0.5591 GB, free: 2.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.7188, allocations: 85.02 kB / 0.5592 GB, free: 2.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.7189, allocations: 133 kB / 0.5593 GB, free: 2.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.7189, allocations: 33.69 kB / 0.5593 GB, free: 2.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.719, allocations: 84.14 kB / 0.5594 GB, free: 2.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.719, allocations: 27.64 kB / 0.5595 GB, free: 2.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.719, allocations: 3.938 kB / 0.5595 GB, free: 2.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.7191, allocations: 322.8 kB / 0.5598 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.7192, allocations: 16 kB / 0.5598 GB, free: 2.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.613e-05/0.7192, allocations: 42.52 kB / 0.5598 GB, free: 2.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.7193, allocations: 19.98 kB / 0.5598 GB, free: 2.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7193, allocations: 4 kB / 0.5598 GB, free: 2.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001502/0.7194, allocations: 85.67 kB / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.7195, allocations: 4 kB / 0.5599 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7195, allocations: 4.078 kB / 0.5599 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7195, allocations: 3.906 kB / 0.5599 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.7196, allocations: 20.11 kB / 0.56 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7196, allocations: 8.047 kB / 0.56 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.7197, allocations: 7.938 kB / 0.56 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.7197, allocations: 4 kB / 0.56 GB, free: 2.02 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 6.42e-05/0.7197, allocations: 102.4 kB / 0.5601 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.7198, allocations: 15.89 kB / 0.5601 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.72, allocations: 98.02 kB / 0.5602 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.72, allocations: 4.188 kB / 0.5602 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.72, allocations: 4 kB / 0.5602 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.72, allocations: 4 kB / 0.5602 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.7204, allocations: 363.8 kB / 0.5605 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7204, allocations: 4 kB / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.7204, allocations: 8 kB / 0.5606 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7204, allocations: 0 / 0.5606 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.7204, allocations: 0 / 0.5606 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.7204, allocations: 4 kB / 0.5606 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7204, allocations: 0 / 0.5606 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001816/0.7206, allocations: 205.9 kB / 0.5608 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000271/0.7209, allocations: 0.5842 MB / 0.5613 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.721, allocations: 89 kB / 0.5614 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.721, allocations: 4 kB / 0.5614 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.7211, allocations: 0 / 0.5614 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.7211, allocations: 11.98 kB / 0.5614 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.7212, allocations: 7.906 kB / 0.5614 GB, free: 404 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.582e-05/0.7212, allocations: 114.2 kB / 0.5615 GB, free: 292 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.7221, allocations: 51.86 kB / 0.5616 GB, free: 240 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.0007744/0.7229, allocations: 391 kB / 0.562 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.723, allocations: 59.92 kB / 0.562 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.723, allocations: 0 / 0.562 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/0.7231, allocations: 31.98 kB / 0.5621 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.7234, allocations: 23.84 kB / 0.5621 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.7237, allocations: 132.6 kB / 0.5622 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.724, allocations: 0.7271 MB / 0.5629 GB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.724, allocations: 0 / 0.5629 GB, free: 14.86 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat