Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") [: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.001683/0.001683, allocations: 170.2 kB / 8.147 MB, free: 2.223 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.897/1.897, 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.001229/0.001228, allocations: 85.95 kB / 261.8 MB, free: 13.62 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.2685/0.2685, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.109e-05/1.124e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3382, allocations: 58.85 MB / 476.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.4917, allocations: 86.76 MB / 0.5501 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.492, allocations: 75.91 kB / 0.5502 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02787/0.5199, allocations: 6.063 MB / 0.5561 GB, free: 6.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.512e-05/0.52, allocations: 12 kB / 0.5561 GB, free: 6.164 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009556/0.5209, allocations: 0.5869 MB / 0.5567 GB, free: 5.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.521, allocations: 8.031 kB / 0.5567 GB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.5212, allocations: 63.33 kB / 0.5568 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.5224, allocations: 471.1 kB / 0.5572 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.5225, allocations: 8 kB / 0.5572 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.5225, allocations: 0 / 0.5572 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000139/0.5227, allocations: 27.98 kB / 0.5572 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.5229, allocations: 87.25 kB / 0.5573 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5229, allocations: 3.906 kB / 0.5573 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.5229, allocations: 4 kB / 0.5573 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.523, allocations: 0 / 0.5573 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.5236, allocations: 354.9 kB / 0.5577 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.5239, allocations: 93.34 kB / 0.5578 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.524, allocations: 41.73 kB / 0.5578 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.524, allocations: 3.984 kB / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.5243, allocations: 97.02 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.5243, allocations: 0 / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004998/0.5248, allocations: 145 kB / 0.558 GB, free: 4.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.5249, allocations: 85.02 kB / 0.5581 GB, free: 3.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.527, allocations: 0.9005 MB / 0.559 GB, free: 3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.5271, allocations: 33.7 kB / 0.559 GB, free: 2.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.5271, allocations: 154.6 kB / 0.5592 GB, free: 2.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/0.5272, allocations: 19.72 kB / 0.5592 GB, free: 2.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.5272, allocations: 0 / 0.5592 GB, free: 2.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5274, allocations: 314.8 kB / 0.5595 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.5275, allocations: 24 kB / 0.5595 GB, free: 2.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.5276, allocations: 53.67 kB / 0.5596 GB, free: 2.387 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.5278, allocations: 43.86 kB / 0.5596 GB, free: 2.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.5278, allocations: 0 / 0.5596 GB, free: 2.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000329/0.5281, allocations: 105.5 kB / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5281, allocations: 8 kB / 0.5597 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5282, allocations: 3.984 kB / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5282, allocations: 0 / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.5284, allocations: 27.98 kB / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5284, allocations: 256 / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.5286, allocations: 19.89 kB / 0.5598 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.5286, allocations: 12 kB / 0.5598 GB, free: 2.164 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.588e-05/0.5287, allocations: 38.91 kB / 0.5598 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5289, allocations: 47.34 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.5294, allocations: 173.7 kB / 0.56 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5295, allocations: 0 / 0.56 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5295, allocations: 0 / 0.56 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.5295, allocations: 4 kB / 0.56 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.53, allocations: 365.8 kB / 0.5604 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.53, allocations: 4 kB / 0.5604 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.5301, allocations: 11.98 kB / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5301, allocations: 0 / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.5302, allocations: 4 kB / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5302, allocations: 0 / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5302, allocations: 3.906 kB / 0.5604 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004242/0.5306, allocations: 199 kB / 0.5606 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.531, allocations: 196.3 kB / 0.5608 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5311, allocations: 0 / 0.5608 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.5313, allocations: 4 kB / 0.5608 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.5314, allocations: 11.98 kB / 0.5608 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.5314, allocations: 4 kB / 0.5608 GB, free: 1.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001443/0.5329, allocations: 0.7214 MB / 0.5615 GB, free: 308 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004541/0.5334, allocations: 68 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009359/0.5343, allocations: 323.9 kB / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.5346, allocations: 75.88 kB / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5346, allocations: 0 / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.5348, allocations: 47.92 kB / 0.562 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.5354, allocations: 57.97 kB / 0.562 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.5377, allocations: 0.8088 MB / 0.5628 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008231/0.5386, allocations: 0.9005 MB / 0.5637 GB, free: 13.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5386, allocations: 0 / 0.5637 GB, free: 13.99 MB / 410.7 MB Notification: Performance of Templates: time 0.01468/0.5533, allocations: 5.558 MB / 0.5691 GB, free: 8.438 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches