Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001677, allocations: 175.8 kB / 8.15 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001712/0.001712, allocations: 94.72 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2609/0.2609, allocations: 43.48 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.39e-05/1.405e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3285, allocations: 58.85 MB / 476.6 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.4864, allocations: 86.89 MB / 0.5502 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4867, allocations: 71.25 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02312/0.5098, allocations: 5.047 MB / 0.5552 GB, free: 7.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.5099, allocations: 7.938 kB / 0.5552 GB, free: 7.051 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.0005676/0.5105, allocations: 410 kB / 0.5556 GB, free: 6.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5105, allocations: 11.97 kB / 0.5556 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.5106, allocations: 15.81 kB / 0.5557 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.5111, allocations: 209 kB / 0.5559 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.5111, allocations: 4 kB / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5112, allocations: 4 kB / 0.5559 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.642e-05/0.5113, allocations: 16 kB / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.5114, allocations: 57.58 kB / 0.5559 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5114, allocations: 3.938 kB / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5114, allocations: 0 / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.5115, allocations: 0 / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.5119, allocations: 277.4 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.5121, allocations: 46.69 kB / 0.5563 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.5121, allocations: 20.97 kB / 0.5563 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.5122, allocations: 0 / 0.5563 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.5123, allocations: 67.34 kB / 0.5563 GB, free: 5.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.5123, allocations: 0 / 0.5563 GB, free: 5.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.5129, allocations: 129.3 kB / 0.5565 GB, free: 5.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.5129, allocations: 59.34 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.5132, allocations: 182.3 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.5133, allocations: 25.7 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.5133, allocations: 150.6 kB / 0.5569 GB, free: 5.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.5134, allocations: 23.66 kB / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.5134, allocations: 0 / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5135, allocations: 322.8 kB / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.5136, allocations: 16 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.5137, allocations: 33.66 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.5138, allocations: 23.98 kB / 0.5573 GB, free: 4.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5138, allocations: 0 / 0.5573 GB, free: 4.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002148/0.514, allocations: 77.69 kB / 0.5573 GB, free: 4.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.514, allocations: 4 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5141, allocations: 7.938 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5141, allocations: 4 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.5142, allocations: 19.92 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5143, allocations: 0 / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.5143, allocations: 4 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5144, allocations: 0 / 0.5574 GB, free: 4.656 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.653e-05/0.5144, allocations: 33.7 kB / 0.5574 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.5145, allocations: 15.98 kB / 0.5574 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.5148, allocations: 111.1 kB / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.5148, allocations: 4 kB / 0.5575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5149, allocations: 0 / 0.5575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5149, allocations: 0 / 0.5575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.5154, allocations: 375.8 kB / 0.5579 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5155, allocations: 0 / 0.5579 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.5156, allocations: 8 kB / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.5156, allocations: 3.984 kB / 0.5579 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5156, allocations: 8.219 kB / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5156, allocations: 4 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5156, allocations: 0 / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002825/0.5159, allocations: 209.8 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.516, allocations: 93 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.5161, allocations: 4 kB / 0.5582 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5162, allocations: 7.984 kB / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.5163, allocations: 11.84 kB / 0.5582 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.5163, allocations: 11.98 kB / 0.5582 GB, free: 3.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001862/0.5165, allocations: 140.9 kB / 0.5584 GB, free: 3.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.5169, allocations: 31.92 kB / 0.5584 GB, free: 3.508 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) * 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.0009746/0.5178, allocations: 354.2 kB / 0.5587 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.5181, allocations: 55.92 kB / 0.5588 GB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5181, allocations: 0 / 0.5588 GB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.5182, allocations: 28 kB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.5186, allocations: 24.38 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.5192, allocations: 198.3 kB / 0.559 GB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.5196, allocations: 0.727 MB / 0.5597 GB, free: 2.109 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5196, allocations: 0 / 0.5597 GB, free: 2.109 MB / 394.7 MB Notification: Performance of Templates: time 0.005359/0.525, allocations: 1.983 MB / 0.5617 GB, free: 132 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches