Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001176/0.001176, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001559/0.001559, allocations: 165.8 kB / 24.84 MB, free: 9.293 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 0.9651/0.9651, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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.1479/0.1479, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.798e-05, allocations: 6.25 kB / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002543/0.002571, allocations: 1.925 MB / 350.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.003935, allocations: 0.8193 MB / 351.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.004042, allocations: 3.938 kB / 351.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.004363, allocations: 47.64 kB / 351.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.004578, allocations: 67.62 kB / 351.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.004805, allocations: 99.67 kB / 352 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.004969, allocations: 143.5 kB / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.005074, allocations: 21.62 kB / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.005165, allocations: 79.73 kB / 352.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.266e-05/0.005258, allocations: 35.83 kB / 352.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.005277, allocations: 8 kB / 352.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.00536, allocations: 43.98 kB / 352.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.005413, allocations: 19.92 kB / 352.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.005457, allocations: 39.84 kB / 352.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005643, allocations: 135.4 kB / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.005646, allocations: 0 / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005647, allocations: 0 / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.005653, allocations: 0 / 352.5 MB, free: 5.598 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004902/0.006143, allocations: 0.4897 MB / 353 MB, free: 5.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.00619, allocations: 8.031 kB / 353 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.006245, allocations: 24.84 kB / 353 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.00643, allocations: 168.2 kB / 353.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.006451, allocations: 12.38 kB / 353.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.006474, allocations: 4.375 kB / 353.2 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.006648, allocations: 135.7 kB / 353.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.006658, allocations: 3.938 kB / 353.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.006668, allocations: 4 kB / 353.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.006676, allocations: 4 kB / 353.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.985e-05/0.006716, allocations: 19.92 kB / 353.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.007074, allocations: 0.5605 MB / 353.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.007256, allocations: 71.14 kB / 354 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.007282, allocations: 19.67 kB / 354 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.007296, allocations: 4 kB / 354 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.007399, allocations: 102.7 kB / 354.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.007401, allocations: 0 / 354.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001775/0.007578, allocations: 105.5 kB / 354.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.007598, allocations: 51.41 kB / 354.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.007693, allocations: 230.6 kB / 354.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.007703, allocations: 29.7 kB / 354.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.007757, allocations: 162.8 kB / 354.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.007776, allocations: 35.72 kB / 354.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.007815, allocations: 35.36 kB / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.007875, allocations: 0.5 MB / 355.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.007895, allocations: 11.98 kB / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.007932, allocations: 66.41 kB / 355.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/0.007994, allocations: 82.67 kB / 355.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007996, allocations: 0 / 355.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001212/0.008117, allocations: 109.4 kB / 355.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.008129, allocations: 8 kB / 355.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.008135, allocations: 3.984 kB / 355.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.008149, allocations: 4 kB / 355.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.008226, allocations: 23.92 kB / 355.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.00823, allocations: 4 kB / 355.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.008266, allocations: 12.06 kB / 355.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008273, allocations: 8 kB / 355.5 MB, free: 2.23 MB / 282.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.008336, allocations: 172.5 kB / 355.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.008354, allocations: 15.91 kB / 355.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.008487, allocations: 103.1 kB / 355.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.008489, allocations: 0 / 355.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.008491, allocations: 0 / 355.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008496, allocations: 0 / 355.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.836e-05/0.008584, allocations: 137.1 kB / 356 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008585, allocations: 0 / 356 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.008636, allocations: 8 kB / 356 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008638, allocations: 7.938 kB / 356 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.008648, allocations: 11.94 kB / 356 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008649, allocations: 0 / 356 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.00865, allocations: 0 / 356 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.008793, allocations: 152.2 kB / 356.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.008809, allocations: 7.953 kB / 356.1 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.008826, allocations: 7.984 kB / 356.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.008855, allocations: 4 kB / 356.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.00889, allocations: 7.984 kB / 356.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.008905, allocations: 4 kB / 356.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.777e-05/0.008952, allocations: 173.1 kB / 356.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.008953, allocations: 0 / 356.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.009133, allocations: 31.89 kB / 356.4 MB, free: 1.332 MB / 282.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) * Number of clocked states: 0 () * 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 (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.0007836/0.009917, allocations: 386 kB / 356.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.01004, allocations: 63.53 kB / 356.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01004, allocations: 0 / 356.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.01007, allocations: 31.8 kB / 356.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.01029, allocations: 43.91 kB / 356.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.01064, allocations: 260.3 kB / 357.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.682e-05/0.01066, allocations: 75.83 kB / 357.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.218e-05/0.01071, allocations: 13.14 kB / 357.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.01077, allocations: 98.19 kB / 357.3 MB, free: 424 kB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01077, allocations: 0 / 357.3 MB, free: 424 kB / 282.7 MB Notification: Performance of Templates: time 0.004782/0.01556, allocations: 2.27 MB / 359.6 MB, free: 14.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2067793435417116]