Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [: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.001176/0.001176, allocations: 185.4 kB / 7.801 MB, free: 2.445 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.011/1.011, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0007608/0.0007608, allocations: 94.45 kB / 261.4 MB, free: 13.55 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.1459/0.1459, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.295e-06/8.336e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.197, allocations: 58.83 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09648/0.2935, allocations: 87.88 MB / 0.5512 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.2937, allocations: 71.95 kB / 0.5513 GB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01012/0.3038, allocations: 3.882 MB / 0.5551 GB, free: 7.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3039, allocations: 7.938 kB / 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004022/0.3043, allocations: 455.9 kB / 0.5555 GB, free: 6.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.3043, allocations: 11.97 kB / 0.5555 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.3044, allocations: 15.81 kB / 0.5555 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.3046, allocations: 226.7 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3046, allocations: 3.984 kB / 0.5558 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.3047, allocations: 11.91 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.571e-05/0.3048, allocations: 28 kB / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3049, allocations: 100.2 kB / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3049, allocations: 0 / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3049, allocations: 4 kB / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3049, allocations: 0 / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.3054, allocations: 497.5 kB / 0.5564 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3056, allocations: 78.61 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.3057, allocations: 28.86 kB / 0.5565 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3057, allocations: 0 / 0.5565 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.206e-05/0.3058, allocations: 75.39 kB / 0.5565 GB, free: 5.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.3058, allocations: 0 / 0.5565 GB, free: 5.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000178/0.306, allocations: 97.42 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.306, allocations: 51.41 kB / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3061, allocations: 166.7 kB / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3062, allocations: 25.7 kB / 0.5569 GB, free: 5.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.3062, allocations: 99.94 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3062, allocations: 35.64 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.3063, allocations: 3.938 kB / 0.557 GB, free: 4.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.3063, allocations: 322.8 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.3064, allocations: 24 kB / 0.5573 GB, free: 4.637 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.3064, allocations: 56.72 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.3065, allocations: 28.08 kB / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3065, allocations: 3.938 kB / 0.5574 GB, free: 4.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000162/0.3067, allocations: 117.4 kB / 0.5575 GB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.3067, allocations: 4 kB / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3067, allocations: 0 / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3067, allocations: 7.906 kB / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3068, allocations: 24.11 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3068, allocations: 7.984 kB / 0.5576 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.3069, allocations: 11.94 kB / 0.5576 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3069, allocations: 8 kB / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.909e-05/0.307, allocations: 116.4 kB / 0.5577 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.307, allocations: 15.8 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.3072, allocations: 107 kB / 0.5578 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3072, allocations: 4 kB / 0.5578 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3072, allocations: 4 kB / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3072, allocations: 0 / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.3074, allocations: 186.2 kB / 0.558 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3074, allocations: 4 kB / 0.558 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.3075, allocations: 12 kB / 0.558 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.3075, allocations: 4 kB / 0.558 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3075, allocations: 3.984 kB / 0.558 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3075, allocations: 0 / 0.558 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3075, allocations: 3.984 kB / 0.558 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002036/0.3077, allocations: 161 kB / 0.5582 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.3078, allocations: 96.91 kB / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3078, allocations: 96 / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.3079, allocations: 7.938 kB / 0.5583 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.3079, allocations: 11.98 kB / 0.5583 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.3079, allocations: 4 kB / 0.5583 GB, free: 3.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.156e-05/0.308, allocations: 136.2 kB / 0.5584 GB, free: 3.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.3082, allocations: 39.91 kB / 0.5585 GB, free: 3.367 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0004993/0.3087, allocations: 299.1 kB / 0.5588 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.3089, allocations: 71.86 kB / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.3089, allocations: 0 / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.501e-05/0.3089, allocations: 36.19 kB / 0.5589 GB, free: 3.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.3092, allocations: 40.02 kB / 0.5589 GB, free: 2.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.3095, allocations: 175.7 kB / 0.5591 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.3098, allocations: 0.7352 MB / 0.5598 GB, free: 2 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.3098, allocations: 0 / 0.5598 GB, free: 2 MB / 394.7 MB Notification: Performance of Templates: time 0.003636/0.3134, allocations: 1.781 MB / 0.5615 GB, free: 232 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches