Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003358/0.003358, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.838e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002628/0.002657, allocations: 1.688 MB / 348.7 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.004438, allocations: 1.482 MB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.00453, allocations: 0 / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.004857, allocations: 39.7 kB / 350.2 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.005152, allocations: 67.62 kB / 350.3 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.005434, allocations: 83.7 kB / 350.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.005605, allocations: 99.62 kB / 350.5 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.005701, allocations: 8.219 kB / 350.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.005804, allocations: 51.84 kB / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.005928, allocations: 35.89 kB / 350.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.005952, allocations: 8 kB / 350.6 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.00609, allocations: 63.91 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.006144, allocations: 15.92 kB / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.006195, allocations: 23.92 kB / 350.7 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.006428, allocations: 123.5 kB / 350.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.00643, allocations: 0 / 350.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006431, allocations: 0 / 350.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.006436, allocations: 0 / 350.8 MB, free: 5.926 MB / 282.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.0004922/0.006928, allocations: 333.6 kB / 351.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.006963, allocations: 12.02 kB / 351.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/0.007032, allocations: 8.891 kB / 351.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.007297, allocations: 153.6 kB / 351.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.007313, allocations: 4.312 kB / 351.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.007339, allocations: 4.375 kB / 351.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.007515, allocations: 93.66 kB / 351.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.007528, allocations: 3.938 kB / 351.4 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.007541, allocations: 4 kB / 351.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.007546, allocations: 4 kB / 351.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.007618, allocations: 15.98 kB / 351.4 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.007912, allocations: 224.6 kB / 351.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.008069, allocations: 62.61 kB / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.00812, allocations: 28.78 kB / 351.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.008138, allocations: 0 / 351.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.008287, allocations: 67.39 kB / 351.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.008288, allocations: 0 / 351.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005243/0.008813, allocations: 181.3 kB / 352 MB, free: 4.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.008842, allocations: 77.11 kB / 352 MB, free: 4.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.008951, allocations: 164.7 kB / 352.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.008961, allocations: 33.7 kB / 352.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.008994, allocations: 92.14 kB / 352.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.009018, allocations: 27.78 kB / 352.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.009051, allocations: 21.72 kB / 352.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.009097, allocations: 318.8 kB / 352.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.009162, allocations: 23.98 kB / 352.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.009223, allocations: 68.27 kB / 352.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.009326, allocations: 77.5 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.009327, allocations: 0 / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002328/0.00956, allocations: 109.6 kB / 353 MB, free: 3.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.009578, allocations: 4 kB / 353 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.009584, allocations: 4 kB / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.009607, allocations: 0 / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.009721, allocations: 16.31 kB / 353 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.009729, allocations: 3.984 kB / 353 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.009793, allocations: 4 kB / 353 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.009806, allocations: 12 kB / 353 MB, free: 3.504 MB / 282.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.009891, allocations: 118.8 kB / 353.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.009929, allocations: 15.98 kB / 353.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.01025, allocations: 122.5 kB / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01025, allocations: 0 / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.01026, allocations: 3.984 kB / 353.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01026, allocations: 3.984 kB / 353.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.01074, allocations: 342.9 kB / 353.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01074, allocations: 0 / 353.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.01079, allocations: 11.98 kB / 353.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.0108, allocations: 4 kB / 353.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01081, allocations: 0 / 353.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01081, allocations: 4.031 kB / 353.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01081, allocations: 0 / 353.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.0111, allocations: 224.2 kB / 353.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.01112, allocations: 7.938 kB / 353.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.01116, allocations: 4 kB / 353.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.01127, allocations: 4 kB / 353.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.01133, allocations: 11.92 kB / 353.9 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.01135, allocations: 4 kB / 353.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.769e-05/0.01145, allocations: 123.2 kB / 354 MB, free: 2.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01145, allocations: 0 / 354 MB, free: 2.445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.0118, allocations: 35.94 kB / 354 MB, free: 2.41 MB / 282.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003126/0.01493, allocations: 0.5305 MB / 354.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.01518, allocations: 63.91 kB / 354.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.01518, allocations: 0 / 354.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.01528, allocations: 31.91 kB / 354.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.01585, allocations: 37.91 kB / 354.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.01636, allocations: 196.7 kB / 354.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.238e-05/0.01643, allocations: 95.28 kB / 355 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.375e-05/0.01651, allocations: 8.5 kB / 355 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.01658, allocations: 20.48 kB / 355 MB, free: 1.496 MB / 282.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01658, allocations: 0 / 355 MB, free: 1.496 MB / 282.7 MB Notification: Performance of Templates: time 0.007068/0.02364, allocations: 2.12 MB / 357.1 MB, free: 15.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.162411822006106]