Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") [: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.0009039/0.0009039, allocations: 185.2 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.029/1.029, 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.0008033/0.0008035, allocations: 87.73 kB / 261.4 MB, free: 13.61 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.1552/0.1552, allocations: 43.47 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.504e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.3398, allocations: 86.9 MB / 0.5503 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.3401, allocations: 63.97 kB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01352/0.3536, allocations: 4.997 MB / 0.5552 GB, free: 7.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3537, allocations: 7.938 kB / 0.5552 GB, free: 7.078 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.0003812/0.3541, allocations: 382.2 kB / 0.5556 GB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3541, allocations: 16.03 kB / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.3542, allocations: 11.89 kB / 0.5556 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.3545, allocations: 217.6 kB / 0.5558 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3545, allocations: 0 / 0.5558 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3545, allocations: 7.984 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.978e-05/0.3546, allocations: 12 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.117e-05/0.3547, allocations: 53.67 kB / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3547, allocations: 3.906 kB / 0.5559 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3547, allocations: 4 kB / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3547, allocations: 0 / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.355, allocations: 265.5 kB / 0.5561 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.457e-05/0.3551, allocations: 54.59 kB / 0.5562 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.3552, allocations: 16.98 kB / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.3552, allocations: 0 / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.896e-05/0.3553, allocations: 67.39 kB / 0.5563 GB, free: 5.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3553, allocations: 0 / 0.5563 GB, free: 5.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003532/0.3556, allocations: 133.2 kB / 0.5564 GB, free: 5.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.3557, allocations: 59.34 kB / 0.5565 GB, free: 5.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3558, allocations: 162.3 kB / 0.5566 GB, free: 5.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3558, allocations: 25.7 kB / 0.5566 GB, free: 5.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.3559, allocations: 92.12 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3559, allocations: 15.72 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.3559, allocations: 4 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.356, allocations: 326.8 kB / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.3561, allocations: 16 kB / 0.5571 GB, free: 4.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.3561, allocations: 33.7 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.3562, allocations: 27.92 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3562, allocations: 3.906 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001328/0.3563, allocations: 89.58 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.3563, allocations: 12.03 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3563, allocations: 0 / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.3563, allocations: 0 / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.3564, allocations: 20.11 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3565, allocations: 4.156 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.3565, allocations: 8.031 kB / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.3565, allocations: 4 kB / 0.5573 GB, free: 4.77 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.766e-05/0.3566, allocations: 104.4 kB / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.3566, allocations: 15.91 kB / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.3568, allocations: 118 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3568, allocations: 0 / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3569, allocations: 0 / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3569, allocations: 0 / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.3572, allocations: 363.8 kB / 0.5578 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3572, allocations: 4 kB / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3573, allocations: 11.98 kB / 0.5578 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3573, allocations: 4.031 kB / 0.5579 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3573, allocations: 4 kB / 0.5579 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3573, allocations: 4 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3573, allocations: 0 / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001772/0.3575, allocations: 201.9 kB / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.3576, allocations: 96.91 kB / 0.5581 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3576, allocations: 4 kB / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.3577, allocations: 4 kB / 0.5582 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.3577, allocations: 19.91 kB / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3577, allocations: 0 / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001138/0.3579, allocations: 144.1 kB / 0.5583 GB, free: 3.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.3581, allocations: 31.94 kB / 0.5583 GB, free: 3.562 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.0007547/0.3589, allocations: 350.3 kB / 0.5587 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.359, allocations: 51.98 kB / 0.5587 GB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.359, allocations: 0 / 0.5587 GB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.3591, allocations: 31.94 kB / 0.5588 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3594, allocations: 31.73 kB / 0.5588 GB, free: 3.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.3597, allocations: 156.7 kB / 0.5589 GB, free: 2.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.36, allocations: 0.7308 MB / 0.5596 GB, free: 2.195 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.36, allocations: 0 / 0.5596 GB, free: 2.195 MB / 394.7 MB Notification: Performance of Templates: time 0.003981/0.364, allocations: 1.626 MB / 0.5612 GB, free: 0.5781 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches