Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009043/0.0009044, allocations: 187.7 kB / 7.801 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.075/1.075, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 87.44 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1564/0.1564, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.083e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3377, allocations: 86.9 MB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001559/0.3379, allocations: 71.97 kB / 0.5503 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01307/0.351, allocations: 5.048 MB / 0.5553 GB, free: 6.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.351, allocations: 11.88 kB / 0.5553 GB, free: 6.969 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.0004575/0.3515, allocations: 402 kB / 0.5556 GB, free: 6.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3515, allocations: 8.031 kB / 0.5557 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.3516, allocations: 11.81 kB / 0.5557 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3519, allocations: 219.6 kB / 0.5559 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3519, allocations: 0 / 0.5559 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3519, allocations: 4 kB / 0.5559 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.858e-05/0.352, allocations: 12 kB / 0.5559 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.3521, allocations: 57.58 kB / 0.5559 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3521, allocations: 3.938 kB / 0.556 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.3521, allocations: 0 / 0.556 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3521, allocations: 4 kB / 0.556 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3525, allocations: 273.4 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.3525, allocations: 42.7 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.3526, allocations: 20.97 kB / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.619e-06/0.3526, allocations: 0 / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.538e-05/0.3527, allocations: 63.34 kB / 0.5563 GB, free: 5.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.3527, allocations: 0 / 0.5563 GB, free: 5.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003583/0.3531, allocations: 137.3 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.3531, allocations: 55.34 kB / 0.5565 GB, free: 5.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3533, allocations: 182.3 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3533, allocations: 29.7 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.3534, allocations: 88.14 kB / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3534, allocations: 23.64 kB / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.3534, allocations: 0 / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3535, allocations: 326.8 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.3536, allocations: 23.94 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.3536, allocations: 37.7 kB / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.3537, allocations: 20.06 kB / 0.5572 GB, free: 4.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.3537, allocations: 0 / 0.5572 GB, free: 4.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001415/0.3538, allocations: 93.48 kB / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3538, allocations: 8 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3538, allocations: 0 / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3539, allocations: 0 / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.3539, allocations: 19.97 kB / 0.5573 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.354, allocations: 4 kB / 0.5573 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.354, allocations: 4.172 kB / 0.5573 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.354, allocations: 12.17 kB / 0.5574 GB, free: 4.609 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 7.248e-05/0.3541, allocations: 108.4 kB / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.3541, allocations: 15.75 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.3543, allocations: 107 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3543, allocations: 0 / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3544, allocations: 4 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3544, allocations: 0 / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.3547, allocations: 375.8 kB / 0.5579 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3547, allocations: 0 / 0.5579 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.3548, allocations: 12 kB / 0.5579 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3548, allocations: 0 / 0.5579 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3548, allocations: 3.906 kB / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3548, allocations: 0 / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3548, allocations: 8.031 kB / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000172/0.355, allocations: 201.9 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.3551, allocations: 93 kB / 0.5582 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.3551, allocations: 7.906 kB / 0.5582 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.3552, allocations: 4 kB / 0.5583 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.3552, allocations: 15.92 kB / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3553, allocations: 0 / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001412/0.3554, allocations: 144.9 kB / 0.5584 GB, free: 3.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.3557, allocations: 31.94 kB / 0.5584 GB, free: 3.406 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.0006839/0.3564, allocations: 356 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.3565, allocations: 55.92 kB / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3565, allocations: 0 / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.3565, allocations: 28 kB / 0.5589 GB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3568, allocations: 27.83 kB / 0.5589 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.3572, allocations: 160.5 kB / 0.559 GB, free: 2.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.3575, allocations: 0.7349 MB / 0.5598 GB, free: 2.035 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3575, allocations: 0 / 0.5598 GB, free: 2.035 MB / 394.7 MB Notification: Performance of Templates: time 0.003769/0.3613, allocations: 1.65 MB / 0.5614 GB, free: 404 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches