Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") [: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.0008889/0.000889, allocations: 185.7 kB / 7.805 MB, free: 2.488 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.059/1.059, 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.000838/0.000838, allocations: 78 kB / 261.4 MB, free: 13.56 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.1543/0.1543, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.935e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1886, allocations: 58.83 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09551/0.2841, allocations: 86.89 MB / 0.5502 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.2844, allocations: 75.95 kB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01461/0.299, allocations: 5.41 MB / 0.5556 GB, free: 6.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.299, allocations: 7.984 kB / 0.5556 GB, free: 6.66 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.0003724/0.2994, allocations: 402 kB / 0.556 GB, free: 6.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.2995, allocations: 8.031 kB / 0.556 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.2995, allocations: 15.81 kB / 0.556 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2998, allocations: 224.9 kB / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2998, allocations: 0 / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.2998, allocations: 7.906 kB / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001012/0.3, allocations: 43.97 kB / 0.5563 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.3001, allocations: 61.67 kB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3001, allocations: 0 / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3001, allocations: 0 / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3001, allocations: 4 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.3004, allocations: 301.2 kB / 0.5566 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3006, allocations: 70.69 kB / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.3006, allocations: 36.77 kB / 0.5567 GB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3006, allocations: 0 / 0.5567 GB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.052e-05/0.3007, allocations: 79.61 kB / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3007, allocations: 0 / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004223/0.3012, allocations: 189 kB / 0.557 GB, free: 5.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.3012, allocations: 59.39 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3014, allocations: 170.4 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3014, allocations: 25.7 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.3014, allocations: 92.31 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.3015, allocations: 39.55 kB / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.3015, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.3016, allocations: 326.8 kB / 0.5577 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.3016, allocations: 31.94 kB / 0.5577 GB, free: 4.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.3017, allocations: 45.64 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.48e-05/0.3018, allocations: 31.98 kB / 0.5578 GB, free: 4.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3018, allocations: 4 kB / 0.5578 GB, free: 4.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000169/0.3019, allocations: 125.4 kB / 0.5579 GB, free: 4.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.302, allocations: 4 kB / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.302, allocations: 0 / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.302, allocations: 4 kB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.3021, allocations: 19.98 kB / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.3021, allocations: 0 / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.3021, allocations: 0 / 0.5579 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3022, allocations: 4 kB / 0.5579 GB, free: 4.062 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 (12): * Single equations (assignments): 12 * 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.2e-05/0.3022, allocations: 120.8 kB / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.3023, allocations: 11.94 kB / 0.5581 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.3025, allocations: 148.5 kB / 0.5582 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3025, allocations: 0 / 0.5582 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3025, allocations: 7.938 kB / 0.5582 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3025, allocations: 0 / 0.5582 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.3029, allocations: 427.7 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.303, allocations: 4 kB / 0.5586 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.303, allocations: 20.02 kB / 0.5586 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.303, allocations: 0 / 0.5586 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3031, allocations: 7.938 kB / 0.5586 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3031, allocations: 0 / 0.5586 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3031, allocations: 0 / 0.5586 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002031/0.3033, allocations: 237.8 kB / 0.5589 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.3033, allocations: 101 kB / 0.559 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.3034, allocations: 0 / 0.559 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.3035, allocations: 4 kB / 0.559 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3035, allocations: 11.89 kB / 0.559 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3035, allocations: 4 kB / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.48e-05/0.3036, allocations: 140.9 kB / 0.5591 GB, free: 2.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.3039, allocations: 39.98 kB / 0.5592 GB, free: 2.703 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 (13): * Single equations (assignments): 11 * 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.0005951/0.3045, allocations: 357.4 kB / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.3046, allocations: 79.92 kB / 0.5596 GB, free: 2.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3046, allocations: 0 / 0.5596 GB, free: 2.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.3047, allocations: 43.94 kB / 0.5596 GB, free: 2.266 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3049, allocations: 31.95 kB / 0.5596 GB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.3053, allocations: 179.8 kB / 0.5598 GB, free: 2.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.3056, allocations: 0.7387 MB / 0.5605 GB, free: 1.27 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3056, allocations: 0 / 0.5605 GB, free: 1.27 MB / 394.7 MB Notification: Performance of Templates: time 0.003656/0.3092, allocations: 1.839 MB / 0.5623 GB, free: 15.44 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches