Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [: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.001663/0.001663, allocations: 172.3 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.692/1.692, 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.001256/0.001256, allocations: 85.52 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.2712/0.2712, allocations: 43.49 MB / 353.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.177e-05/1.186e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 58.85 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.4195, allocations: 86.89 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.4198, allocations: 75.89 kB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02288/0.4427, allocations: 4.945 MB / 0.5551 GB, free: 7.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.4428, allocations: 0 / 0.5551 GB, free: 7.176 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.0006469/0.4435, allocations: 398.1 kB / 0.5555 GB, free: 6.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4435, allocations: 8.031 kB / 0.5555 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.4436, allocations: 11.91 kB / 0.5555 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.444, allocations: 214.8 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.444, allocations: 0 / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.4441, allocations: 8 kB / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/0.4442, allocations: 16 kB / 0.5558 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4443, allocations: 45.67 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4444, allocations: 4 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.4444, allocations: 4 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4444, allocations: 0 / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.4449, allocations: 269.4 kB / 0.5561 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.4451, allocations: 54.62 kB / 0.5561 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.4451, allocations: 16.98 kB / 0.5561 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4452, allocations: 3.984 kB / 0.5561 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.4453, allocations: 67.31 kB / 0.5562 GB, free: 5.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.4453, allocations: 3.938 kB / 0.5562 GB, free: 5.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.4459, allocations: 125.3 kB / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.446, allocations: 51.41 kB / 0.5564 GB, free: 5.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.4462, allocations: 158.7 kB / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.4462, allocations: 29.7 kB / 0.5566 GB, free: 5.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.4463, allocations: 150.6 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.4464, allocations: 27.64 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.4464, allocations: 0 / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4465, allocations: 314.8 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.4466, allocations: 20 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.781e-05/0.4467, allocations: 33.7 kB / 0.5571 GB, free: 4.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.4468, allocations: 16 kB / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4468, allocations: 0 / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002228/0.447, allocations: 93.5 kB / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4471, allocations: 11.47 kB / 0.5572 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4471, allocations: 4.031 kB / 0.5572 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4471, allocations: 3.938 kB / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.4473, allocations: 12 kB / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4473, allocations: 4 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.4474, allocations: 7.922 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4474, allocations: 4 kB / 0.5572 GB, free: 4.828 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.541e-05/0.4475, allocations: 32.38 kB / 0.5573 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.4475, allocations: 15.81 kB / 0.5573 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.4478, allocations: 106.1 kB / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4479, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4479, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4479, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.4485, allocations: 367.8 kB / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4485, allocations: 0 / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.042e-05/0.4486, allocations: 8 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4486, allocations: 0 / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.4486, allocations: 4.219 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.4487, allocations: 12.22 kB / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4487, allocations: 0 / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000277/0.449, allocations: 205.9 kB / 0.5579 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.449, allocations: 96.89 kB / 0.558 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.4491, allocations: 3.938 kB / 0.558 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4492, allocations: 12 kB / 0.5581 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.4493, allocations: 7.984 kB / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4493, allocations: 0 / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001593/0.4495, allocations: 132.1 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.4498, allocations: 23.94 kB / 0.5582 GB, free: 3.723 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.0009937/0.4509, allocations: 350.1 kB / 0.5585 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.4511, allocations: 51.98 kB / 0.5586 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4511, allocations: 0 / 0.5586 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.4512, allocations: 31.94 kB / 0.5586 GB, free: 3.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.4516, allocations: 24.5 kB / 0.5586 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.4522, allocations: 182.4 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.4526, allocations: 0.727 MB / 0.5595 GB, free: 2.34 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4526, allocations: 0 / 0.5595 GB, free: 2.34 MB / 394.7 MB Notification: Performance of Templates: time 0.005357/0.458, allocations: 1.916 MB / 0.5614 GB, free: 436 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches