Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,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.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,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.Test68") [: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.001648/0.001648, allocations: 178 kB / 8.152 MB, free: 2.188 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.704/1.704, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001731/0.001731, allocations: 94.31 kB / 261.8 MB, free: 13.64 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.27/0.27, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.467e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4024, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.5611, allocations: 86.75 MB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5615, allocations: 71.47 kB / 0.5502 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02624/0.5877, allocations: 6.023 MB / 0.556 GB, free: 6.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.015e-05/0.5878, allocations: 8 kB / 0.5561 GB, free: 6.246 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.0009509/0.5888, allocations: 0.5909 MB / 0.5566 GB, free: 5.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.5888, allocations: 8.031 kB / 0.5566 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.5889, allocations: 47.34 kB / 0.5567 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.5902, allocations: 467.1 kB / 0.5571 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.5902, allocations: 8 kB / 0.5571 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.5902, allocations: 3.984 kB / 0.5571 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/0.5904, allocations: 35.86 kB / 0.5572 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.5906, allocations: 87.36 kB / 0.5573 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5906, allocations: 3.938 kB / 0.5573 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.5906, allocations: 4 kB / 0.5573 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5906, allocations: 0 / 0.5573 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.5912, allocations: 354.8 kB / 0.5576 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.5915, allocations: 101.3 kB / 0.5577 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.5916, allocations: 33.72 kB / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.5916, allocations: 0 / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.5918, allocations: 101.1 kB / 0.5578 GB, free: 4.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.5918, allocations: 0 / 0.5578 GB, free: 4.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004312/0.5923, allocations: 141 kB / 0.558 GB, free: 4.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.5923, allocations: 81.09 kB / 0.558 GB, free: 4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.5943, allocations: 0.8771 MB / 0.5589 GB, free: 3.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.5944, allocations: 25.7 kB / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.5944, allocations: 154.6 kB / 0.5591 GB, free: 2.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.5945, allocations: 23.66 kB / 0.5591 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.5945, allocations: 0 / 0.5591 GB, free: 2.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5947, allocations: 326.7 kB / 0.5594 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.5948, allocations: 23.94 kB / 0.5594 GB, free: 2.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.5949, allocations: 57.55 kB / 0.5595 GB, free: 2.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.844e-05/0.595, allocations: 27.98 kB / 0.5595 GB, free: 2.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.595, allocations: 0 / 0.5595 GB, free: 2.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.5953, allocations: 109.6 kB / 0.5596 GB, free: 2.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5953, allocations: 4 kB / 0.5596 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5954, allocations: 0 / 0.5596 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5954, allocations: 4 kB / 0.5596 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.5956, allocations: 27.92 kB / 0.5596 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5956, allocations: 7.906 kB / 0.5597 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.5957, allocations: 4 kB / 0.5597 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.5958, allocations: 8.234 kB / 0.5597 GB, free: 2.293 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.033e-05/0.5958, allocations: 39.03 kB / 0.5597 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.596, allocations: 47.34 kB / 0.5597 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.5965, allocations: 173.5 kB / 0.5599 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5965, allocations: 0 / 0.5599 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5965, allocations: 0 / 0.5599 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5965, allocations: 7.906 kB / 0.5599 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.597, allocations: 353.8 kB / 0.5603 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.597, allocations: 7.922 kB / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.5971, allocations: 8 kB / 0.5603 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5971, allocations: 8 kB / 0.5603 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.5972, allocations: 7.906 kB / 0.5603 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5972, allocations: 0 / 0.5603 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5972, allocations: 7.938 kB / 0.5603 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004246/0.5976, allocations: 187 kB / 0.5605 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.598, allocations: 196.3 kB / 0.5607 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.5981, allocations: 4 kB / 0.5607 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.5983, allocations: 7.984 kB / 0.5607 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.5984, allocations: 4 kB / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.5984, allocations: 7.984 kB / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001364/0.5998, allocations: 0.698 MB / 0.5614 GB, free: 464 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.6002, allocations: 72 kB / 0.5614 GB, free: 392 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.0009319/0.6012, allocations: 321.9 kB / 0.5617 GB, free: 104 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.6015, allocations: 79.86 kB / 0.5618 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6015, allocations: 0 / 0.5618 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6017, allocations: 43.92 kB / 0.5619 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.6023, allocations: 61.81 kB / 0.5619 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.6045, allocations: 0.7874 MB / 0.5627 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/0.6053, allocations: 0.8967 MB / 0.5636 GB, free: 14.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6053, allocations: 0 / 0.5636 GB, free: 14.17 MB / 410.7 MB Notification: Performance of Templates: time 0.01363/0.619, allocations: 5.432 MB / 0.5689 GB, free: 8.734 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches