Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") [: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.001563/0.001563, allocations: 171.1 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.67/1.67, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001284/0.001284, allocations: 89.52 kB / 261.8 MB, free: 13.63 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.2829/0.2829, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.05e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2642, allocations: 58.85 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.4171, allocations: 86.89 MB / 0.5502 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.4174, allocations: 79.89 kB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02397/0.4414, allocations: 4.933 MB / 0.5551 GB, free: 7.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.4415, allocations: 4 kB / 0.5551 GB, free: 7.129 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.0005683/0.4421, allocations: 386.1 kB / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4421, allocations: 16.03 kB / 0.5555 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.4422, allocations: 7.906 kB / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.4426, allocations: 210.8 kB / 0.5557 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.4426, allocations: 4 kB / 0.5557 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.4427, allocations: 0 / 0.5557 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.4428, allocations: 23.98 kB / 0.5558 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4429, allocations: 49.69 kB / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4429, allocations: 0 / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.443, allocations: 0 / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.443, allocations: 0 / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.4435, allocations: 277.3 kB / 0.5561 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.4436, allocations: 46.64 kB / 0.5561 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.4437, allocations: 20.97 kB / 0.5561 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4437, allocations: 0 / 0.5561 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.4439, allocations: 67.31 kB / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.4439, allocations: 3.938 kB / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000562/0.4445, allocations: 125.3 kB / 0.5563 GB, free: 5.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.4445, allocations: 55.41 kB / 0.5564 GB, free: 5.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.4448, allocations: 158.7 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4448, allocations: 25.7 kB / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.4449, allocations: 150.6 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.107e-05/0.445, allocations: 27.64 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.445, allocations: 4 kB / 0.5567 GB, free: 5.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4451, allocations: 314.8 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.4452, allocations: 16 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.4453, allocations: 37.7 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.4454, allocations: 16 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4454, allocations: 0 / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002364/0.4456, allocations: 97.5 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4457, allocations: 11.5 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4457, allocations: 0 / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4457, allocations: 3.938 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4459, allocations: 19.98 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4459, allocations: 0 / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.446, allocations: 4 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.446, allocations: 3.938 kB / 0.5572 GB, free: 4.789 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.363e-05/0.4461, allocations: 32.38 kB / 0.5572 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.4461, allocations: 11.81 kB / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.4465, allocations: 110.1 kB / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4465, allocations: 0 / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4465, allocations: 0 / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4465, allocations: 0 / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.4471, allocations: 363.8 kB / 0.5577 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4471, allocations: 0 / 0.5577 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.4472, allocations: 8 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.4472, allocations: 12.02 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4473, allocations: 192 / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4473, allocations: 4.234 kB / 0.5577 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.4473, allocations: 4 kB / 0.5577 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000287/0.4476, allocations: 205.8 kB / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.511e-05/0.4477, allocations: 92.92 kB / 0.558 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.4477, allocations: 7.938 kB / 0.558 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.4479, allocations: 7.984 kB / 0.558 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.4479, allocations: 4 kB / 0.558 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4479, allocations: 4 kB / 0.558 GB, free: 3.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001651/0.4481, allocations: 132.1 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.4485, allocations: 27.94 kB / 0.5582 GB, free: 3.684 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.0009892/0.4495, allocations: 350.1 kB / 0.5585 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.4497, allocations: 48 kB / 0.5586 GB, free: 3.332 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4497, allocations: 0 / 0.5586 GB, free: 3.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.4499, allocations: 31.94 kB / 0.5586 GB, free: 3.301 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.4503, allocations: 32.48 kB / 0.5586 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.4509, allocations: 174.4 kB / 0.5588 GB, free: 3.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.4513, allocations: 0.7309 MB / 0.5595 GB, free: 2.301 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4513, allocations: 0 / 0.5595 GB, free: 2.301 MB / 394.7 MB Notification: Performance of Templates: time 0.005484/0.4568, allocations: 1.916 MB / 0.5614 GB, free: 396 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches