Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [: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.0008814/0.0008814, allocations: 190.2 kB / 7.801 MB, free: 2.496 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.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.0008209/0.000821, allocations: 83.86 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.1549/0.1549, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.814e-06/7.834e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 58.84 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3433, allocations: 86.73 MB / 0.5501 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.3435, allocations: 75.95 kB / 0.5502 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01326/0.3568, allocations: 5.122 MB / 0.5552 GB, free: 7.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3568, allocations: 4 kB / 0.5552 GB, free: 7.09 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.0003591/0.3572, allocations: 417.2 kB / 0.5556 GB, free: 6.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3572, allocations: 8.031 kB / 0.5556 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.3573, allocations: 15.75 kB / 0.5556 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3576, allocations: 222.7 kB / 0.5558 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3576, allocations: 0 / 0.5558 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3576, allocations: 3.938 kB / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.748e-05/0.3577, allocations: 19.98 kB / 0.5558 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.989e-05/0.3577, allocations: 49.59 kB / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3578, allocations: 0 / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3578, allocations: 0 / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3578, allocations: 4 kB / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.358, allocations: 174.2 kB / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.333e-05/0.358, allocations: 50.56 kB / 0.5561 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.3581, allocations: 16.86 kB / 0.5561 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.3581, allocations: 0 / 0.5561 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.435e-05/0.3582, allocations: 63.41 kB / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3582, allocations: 0 / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001582/0.3583, allocations: 73.58 kB / 0.5562 GB, free: 5.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.3584, allocations: 55.34 kB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3586, allocations: 229.6 kB / 0.5565 GB, free: 5.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3586, allocations: 29.7 kB / 0.5565 GB, free: 5.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.3587, allocations: 92.12 kB / 0.5566 GB, free: 5.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.3587, allocations: 11.84 kB / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.3587, allocations: 4 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.3588, allocations: 330.8 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.3588, allocations: 11.98 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.3589, allocations: 25.72 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.3589, allocations: 12 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3589, allocations: 3.906 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001077/0.359, allocations: 81.52 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.359, allocations: 10.72 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.359, allocations: 4.031 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.3591, allocations: 4 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.3591, allocations: 8 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3591, allocations: 0 / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.3592, allocations: 4 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3592, allocations: 3.984 kB / 0.5571 GB, free: 4.887 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 6.725e-05/0.3593, allocations: 105 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.3593, allocations: 15.81 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.3595, allocations: 94.61 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3595, allocations: 3.984 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3595, allocations: 0 / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.3595, allocations: 0 / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.3596, allocations: 182.1 kB / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3596, allocations: 192 / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.3597, allocations: 8 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3597, allocations: 0 / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3597, allocations: 7.922 kB / 0.5575 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3597, allocations: 3.906 kB / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3597, allocations: 4 kB / 0.5575 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001139/0.3598, allocations: 100.9 kB / 0.5576 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.3599, allocations: 100.9 kB / 0.5577 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3599, allocations: 0 / 0.5577 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.36, allocations: 7.938 kB / 0.5577 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.36, allocations: 7.984 kB / 0.5577 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.36, allocations: 4 kB / 0.5577 GB, free: 4.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001404/0.3602, allocations: 188.2 kB / 0.5579 GB, free: 3.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.3604, allocations: 27.94 kB / 0.5579 GB, free: 3.957 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.0005399/0.3609, allocations: 306.5 kB / 0.5582 GB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.361, allocations: 39.92 kB / 0.5583 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.361, allocations: 0 / 0.5583 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.3611, allocations: 20 kB / 0.5583 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.3613, allocations: 31.81 kB / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.3616, allocations: 195.7 kB / 0.5585 GB, free: 3.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.3619, allocations: 0.7383 MB / 0.5592 GB, free: 2.621 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3619, allocations: 0 / 0.5592 GB, free: 2.621 MB / 394.7 MB Notification: Performance of Templates: time 0.003339/0.3652, allocations: 1.515 MB / 0.5607 GB, free: 1.117 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches