Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.0009598/0.0009598, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009994/0.0009994, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.9406/0.9406, allocations: 158.6 MB / 186 MB, free: 2.762 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.1379/0.1379, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.071e-05, allocations: 2.312 kB / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00247/0.002491, allocations: 1.739 MB / 300.9 MB, free: 336 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1307/0.1332, allocations: 0.7771 MB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.1333, allocations: 4.469 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.1336, allocations: 84.25 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1338, allocations: 80.38 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.134, allocations: 86.95 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1342, allocations: 101 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.1342, allocations: 4.906 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1343, allocations: 62.48 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1344, allocations: 46.17 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1344, allocations: 3.625 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.1345, allocations: 25.89 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.1346, allocations: 25.73 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.1346, allocations: 17.05 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1348, allocations: 88.64 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1348, allocations: 0.75 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1348, allocations: 1.719 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1348, allocations: 0 / 302.3 MB, free: 19.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003455/0.1351, allocations: 320.2 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1351, allocations: 10.28 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1352, allocations: 7.969 kB / 302.7 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1353, allocations: 149.5 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1353, allocations: 1.5 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.1354, allocations: 2.875 kB / 302.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1355, allocations: 64.28 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1355, allocations: 3.938 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1355, allocations: 0.6562 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1355, allocations: 1.188 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.1355, allocations: 12.39 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.008e-05/0.1356, allocations: 67.06 kB / 303 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.111e-05/0.1357, allocations: 38.34 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.1357, allocations: 11.42 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1357, allocations: 1.781 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.227e-05/0.1358, allocations: 65.09 kB / 303.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.1358, allocations: 0 / 303.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001249/0.1359, allocations: 60.28 kB / 303.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.1359, allocations: 58.22 kB / 303.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1361, allocations: 178.1 kB / 303.4 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1361, allocations: 31.28 kB / 303.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.1361, allocations: 94.2 kB / 303.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1361, allocations: 13.86 kB / 303.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.1361, allocations: 20.58 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.1362, allocations: 326.2 kB / 303.8 MB, free: 17.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.1362, allocations: 9.047 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.1362, allocations: 22.5 kB / 303.9 MB, free: 17.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.1362, allocations: 37.83 kB / 303.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1362, allocations: 1.156 kB / 303.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.281e-05/0.1363, allocations: 63.61 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1363, allocations: 5.25 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1363, allocations: 2.938 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1363, allocations: 5.125 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.1364, allocations: 14.34 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1364, allocations: 3.828 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.1364, allocations: 9.906 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1364, allocations: 1.938 kB / 304 MB, free: 17.73 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 (7): * Single equations (assignments): 7 * 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 4.597e-05/0.1365, allocations: 116.9 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.1365, allocations: 7.953 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.6e-05/0.1366, allocations: 67.17 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1366, allocations: 1.094 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.1366, allocations: 3.938 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1366, allocations: 5.25 kB / 304.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1367, allocations: 91.66 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1367, allocations: 1.031 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.1367, allocations: 5.688 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1367, allocations: 1.094 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1367, allocations: 1.969 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1367, allocations: 0 / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1367, allocations: 0 / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.31e-05/0.1368, allocations: 93.17 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.1368, allocations: 7.609 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1369, allocations: 1.953 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.1369, allocations: 6.875 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.1369, allocations: 4.359 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1369, allocations: 2.062 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.137, allocations: 61.09 kB / 304.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.137, allocations: 0 / 304.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000126/0.1371, allocations: 19.72 kB / 304.5 MB, free: 17.38 MB / 282.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) * Number of clocked states: 0 () * 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 (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.001045/0.1381, allocations: 0.5014 MB / 305 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.1382, allocations: 38 kB / 305 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1382, allocations: 1.156 kB / 305 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.1383, allocations: 20.61 kB / 305.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.1384, allocations: 29.45 kB / 305.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.1387, allocations: 207.9 kB / 305.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.1388, allocations: 65.84 kB / 305.4 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.935e-05/0.1388, allocations: 12.28 kB / 305.4 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.1389, allocations: 64.73 kB / 305.4 MB, free: 16.81 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1389, allocations: 4.062 kB / 305.4 MB, free: 16.81 MB / 282.7 MB Notification: Performance of Templates: time 0.003852/0.1427, allocations: 1.751 MB / 307.2 MB, free: 16.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.0744804507121444]