Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001918/0.001918, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.002464/0.002464, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.617/1.617, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2261/0.2261, allocations: 46.93 MB / 357.8 MB, free: 10.33 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 0.4922 GB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1348, allocations: 65.99 MB / 0.5566 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003533/0.1383, allocations: 1.739 MB / 0.5583 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1401, allocations: 1.034 MB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.1402, allocations: 3.938 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1405, allocations: 39.83 kB / 0.5594 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.1408, allocations: 103.5 kB / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.141, allocations: 75.67 kB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1412, allocations: 103.7 kB / 0.5596 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.1413, allocations: 8 kB / 0.5596 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.1414, allocations: 51.77 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.1415, allocations: 27.8 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1415, allocations: 4 kB / 0.5597 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.1416, allocations: 43.98 kB / 0.5598 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1416, allocations: 27.91 kB / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.1417, allocations: 39.73 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.1419, allocations: 119.4 kB / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1419, allocations: 0 / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1419, allocations: 0 / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1419, allocations: 0 / 0.5599 GB, free: 1.844 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006061/0.1425, allocations: 426.6 kB / 0.5603 GB, free: 1.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1426, allocations: 8.031 kB / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1426, allocations: 8.891 kB / 0.5604 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1429, allocations: 219.2 kB / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1429, allocations: 8.375 kB / 0.5606 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.143, allocations: 4.125 kB / 0.5606 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1431, allocations: 53.67 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1431, allocations: 0 / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1431, allocations: 0 / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1431, allocations: 4 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.1432, allocations: 19.92 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.1437, allocations: 296.8 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1438, allocations: 54.62 kB / 0.561 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1439, allocations: 24.83 kB / 0.561 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1439, allocations: 0 / 0.561 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.1441, allocations: 75.33 kB / 0.5611 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1441, allocations: 4 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005542/0.1447, allocations: 173.3 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.1447, allocations: 55.41 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1449, allocations: 190.4 kB / 0.5615 GB, free: 64 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1449, allocations: 29.64 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/0.145, allocations: 108.1 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1451, allocations: 27.78 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.1451, allocations: 21.7 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1453, allocations: 330.8 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.1453, allocations: 20 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.1454, allocations: 33.7 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1456, allocations: 65.64 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1456, allocations: 0 / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002148/0.1458, allocations: 101.5 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1458, allocations: 11.98 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1458, allocations: 0 / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1458, allocations: 0 / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.1459, allocations: 12 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1459, allocations: 4 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.146, allocations: 7.938 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.146, allocations: 7.984 kB / 0.5622 GB, free: 15.25 MB / 430.1 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 0.0001184/0.1461, allocations: 121.6 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1461, allocations: 15.94 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.1462, allocations: 21.39 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1462, allocations: 0 / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1462, allocations: 0 / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1462, allocations: 3.938 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.1467, allocations: 395.3 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1467, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.1467, allocations: 15.92 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1467, allocations: 4.031 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1468, allocations: 11.88 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1468, allocations: 384 / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1468, allocations: 0 / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.147, allocations: 200.3 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.1471, allocations: 89.02 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1471, allocations: 15.92 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.1472, allocations: 4 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1472, allocations: 8 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1472, allocations: 7.984 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1474, allocations: 148.4 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1474, allocations: 0 / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1476, allocations: 27.86 kB / 0.5633 GB, free: 14.08 MB / 430.1 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 (8): * Single equations (assignments): 6 * 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.001709/0.1493, allocations: 460.6 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1496, allocations: 59.84 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1496, allocations: 0 / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.1496, allocations: 24 kB / 0.5638 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.15, allocations: 28.03 kB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.1505, allocations: 280.2 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1509, allocations: 0.7002 MB / 0.5648 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.1509, allocations: 15.44 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1509, allocations: 0 / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of Templates: time 0.004157/0.1551, allocations: 1.96 MB / 0.5667 GB, free: 10.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.404876119020628]