Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [: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.0009633/0.0009635, allocations: 191 kB / 7.802 MB, free: 2.5 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.062/1.062, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008896/0.0008896, allocations: 99.69 kB / 261.4 MB, free: 13.52 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.1547/0.1547, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.695e-06, allocations: 4 kB / 417.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 58.84 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09719/0.3038, allocations: 86.73 MB / 0.5501 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.304, allocations: 71.97 kB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01228/0.3163, allocations: 4.851 MB / 0.5549 GB, free: 7.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3163, allocations: 4 kB / 0.5549 GB, free: 7.34 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000313/0.3166, allocations: 386.2 kB / 0.5553 GB, free: 6.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3167, allocations: 8.031 kB / 0.5553 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.3167, allocations: 7.906 kB / 0.5553 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.317, allocations: 217.6 kB / 0.5555 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.317, allocations: 4 kB / 0.5555 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.317, allocations: 4 kB / 0.5555 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.899e-05/0.3171, allocations: 12 kB / 0.5555 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.067e-05/0.3172, allocations: 45.67 kB / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.3172, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3172, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3172, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.3173, allocations: 166.2 kB / 0.5557 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.3174, allocations: 50.56 kB / 0.5558 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.3175, allocations: 16.86 kB / 0.5558 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3175, allocations: 0 / 0.5558 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.3176, allocations: 59.5 kB / 0.5558 GB, free: 6.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3176, allocations: 0 / 0.5558 GB, free: 6.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001499/0.3177, allocations: 77.47 kB / 0.5559 GB, free: 6.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3178, allocations: 51.41 kB / 0.556 GB, free: 6.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3179, allocations: 170.2 kB / 0.5561 GB, free: 5.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3179, allocations: 25.7 kB / 0.5561 GB, free: 5.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.318, allocations: 92.12 kB / 0.5562 GB, free: 5.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.318, allocations: 11.84 kB / 0.5562 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.318, allocations: 3.938 kB / 0.5562 GB, free: 5.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.3181, allocations: 326.7 kB / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.3181, allocations: 12 kB / 0.5566 GB, free: 5.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.053e-05/0.3182, allocations: 29.72 kB / 0.5566 GB, free: 5.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.3182, allocations: 15.98 kB / 0.5566 GB, free: 5.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3182, allocations: 0 / 0.5566 GB, free: 5.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000103/0.3183, allocations: 73.53 kB / 0.5567 GB, free: 5.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.3184, allocations: 6.812 kB / 0.5567 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3184, allocations: 0 / 0.5567 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.3184, allocations: 0 / 0.5567 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.3185, allocations: 19.98 kB / 0.5567 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.3185, allocations: 0 / 0.5567 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3185, allocations: 11.94 kB / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3185, allocations: 0 / 0.5567 GB, free: 5.273 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 (7): * Single equations (assignments): 7 * 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.249e-05/0.3186, allocations: 108.9 kB / 0.5568 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.3186, allocations: 11.81 kB / 0.5568 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.3188, allocations: 82.08 kB / 0.5569 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3188, allocations: 4 kB / 0.5569 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3188, allocations: 3.984 kB / 0.5569 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3188, allocations: 0 / 0.5569 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.319, allocations: 166.2 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.319, allocations: 4 kB / 0.5571 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.319, allocations: 11.89 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.319, allocations: 0 / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.319, allocations: 0 / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.319, allocations: 4 kB / 0.5571 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.319, allocations: 3.984 kB / 0.5571 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001176/0.3192, allocations: 92.94 kB / 0.5572 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.3192, allocations: 97 kB / 0.5573 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3193, allocations: 4 kB / 0.5573 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.351e-05/0.3193, allocations: 4 kB / 0.5573 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3194, allocations: 7.922 kB / 0.5573 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3194, allocations: 4 kB / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001041/0.3195, allocations: 140.1 kB / 0.5574 GB, free: 4.453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.3197, allocations: 23.94 kB / 0.5575 GB, free: 4.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006567/0.3203, allocations: 312.4 kB / 0.5578 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3205, allocations: 39.98 kB / 0.5578 GB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.3205, allocations: 3.938 kB / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.3205, allocations: 20 kB / 0.5578 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3208, allocations: 19.84 kB / 0.5578 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.3212, allocations: 131.5 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.3215, allocations: 0.731 MB / 0.5587 GB, free: 3.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3215, allocations: 0 / 0.5587 GB, free: 3.16 MB / 394.7 MB Notification: Performance of Templates: time 0.003634/0.3251, allocations: 1.399 MB / 0.56 GB, free: 1.77 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches