Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001323/0.001323, allocations: 116 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001484/0.001484, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 46.93 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 0.4921 GB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1295, allocations: 65.99 MB / 0.5566 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003596/0.1331, allocations: 1.951 MB / 0.5585 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.135, allocations: 1.064 MB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1351, allocations: 8 kB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.1354, allocations: 47.64 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.1358, allocations: 99.53 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1361, allocations: 91.64 kB / 0.5598 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1363, allocations: 155.5 kB / 0.5599 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1364, allocations: 13.56 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1365, allocations: 67.7 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1366, allocations: 47.7 kB / 0.56 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1367, allocations: 12 kB / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1368, allocations: 47.98 kB / 0.5601 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.1368, allocations: 27.84 kB / 0.5601 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.1369, allocations: 55.61 kB / 0.5602 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.1372, allocations: 151.3 kB / 0.5603 GB, free: 1.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1372, allocations: 0 / 0.5603 GB, free: 1.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1372, allocations: 0 / 0.5603 GB, free: 1.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1372, allocations: 0 / 0.5603 GB, free: 1.418 MB / 414.1 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.000738/0.138, allocations: 492.1 kB / 0.5608 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.138, allocations: 16.03 kB / 0.5608 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.1381, allocations: 12.84 kB / 0.5608 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.1384, allocations: 244.7 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1385, allocations: 4.375 kB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.1385, allocations: 12.12 kB / 0.5611 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.1388, allocations: 112.1 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1388, allocations: 4 kB / 0.5612 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1388, allocations: 4 kB / 0.5612 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1388, allocations: 0 / 0.5612 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.1389, allocations: 43.97 kB / 0.5612 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.1397, allocations: 0.5088 MB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.14, allocations: 74.67 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1401, allocations: 44.77 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1401, allocations: 0 / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.1404, allocations: 83.38 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.1404, allocations: 0 / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004318/0.1408, allocations: 145.5 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1408, allocations: 55.34 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1411, allocations: 198.2 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1411, allocations: 33.7 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.1412, allocations: 116 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.1412, allocations: 39.72 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.1413, allocations: 29.72 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1414, allocations: 322.8 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.584e-05/0.1415, allocations: 31.97 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1417, allocations: 68.34 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1419, allocations: 104.5 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1419, allocations: 0 / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000298/0.1422, allocations: 141.5 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1422, allocations: 9.875 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1422, allocations: 0 / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1422, allocations: 4 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1423, allocations: 27.86 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1423, allocations: 4 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.1424, allocations: 7.953 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1424, allocations: 8 kB / 0.5632 GB, free: 14.19 MB / 430.1 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 0.0001205/0.1425, allocations: 137.8 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1426, allocations: 15.91 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.1426, allocations: 17.39 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1426, allocations: 3.938 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1426, allocations: 0 / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1426, allocations: 7.938 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1428, allocations: 209.6 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1428, allocations: 3.938 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.1429, allocations: 11.98 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1429, allocations: 4 kB / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1429, allocations: 4 kB / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1429, allocations: 3.938 kB / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1429, allocations: 0 / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1433, allocations: 180.9 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1434, allocations: 93.22 kB / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1434, allocations: 0 / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.1435, allocations: 11.94 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.1435, allocations: 15.98 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1435, allocations: 4 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1437, allocations: 144.4 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1437, allocations: 0 / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1439, allocations: 27.94 kB / 0.564 GB, free: 13.21 MB / 430.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001501/0.1454, allocations: 406.4 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.1457, allocations: 91.7 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1457, allocations: 0 / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1458, allocations: 31.92 kB / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.1461, allocations: 39.56 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.1467, allocations: 300.9 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.147, allocations: 0.7204 MB / 0.5656 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.1471, allocations: 15.44 kB / 0.5656 GB, free: 11.72 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1471, allocations: 0 / 0.5656 GB, free: 11.72 MB / 430.1 MB Notification: Performance of Templates: time 0.004445/0.1515, allocations: 2.212 MB / 0.5678 GB, free: 9.512 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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: 8.093607428018004]