Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.00129/0.00129, 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.001517/0.001517, 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.8404/0.8404, allocations: 158.6 MB / 186 MB, free: 2.77 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.1316/0.1316, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.229e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001879/0.001891, allocations: 1.612 MB / 300.7 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004833/0.002375, allocations: 327.3 kB / 301 MB, free: 268 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.002415, allocations: 4 kB / 301 MB, free: 264 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.002638, allocations: 91.69 kB / 301.1 MB, free: 172 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.002783, allocations: 75.66 kB / 301.2 MB, free: 96 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.002943, allocations: 71.83 kB / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1293/0.1323, allocations: 73.97 kB / 301.3 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1324, allocations: 16.25 kB / 301.3 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1325, allocations: 41.67 kB / 301.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1326, allocations: 49.94 kB / 301.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1326, allocations: 2.906 kB / 301.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.1327, allocations: 32.36 kB / 301.4 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.1327, allocations: 30.88 kB / 301.5 MB, free: 19.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1328, allocations: 14.97 kB / 301.5 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1329, allocations: 87.45 kB / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1329, allocations: 0.75 kB / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1329, allocations: 2.688 kB / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1329, allocations: 0 / 301.6 MB, free: 19.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002966/0.1332, allocations: 316.1 kB / 301.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1333, allocations: 10.56 kB / 301.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.1333, allocations: 8.312 kB / 301.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1334, allocations: 146.2 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-06/0.1334, allocations: 4.938 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1334, allocations: 6.25 kB / 302.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.1335, allocations: 57.64 kB / 302.1 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1335, allocations: 1.031 kB / 302.1 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1335, allocations: 12.19 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1335, allocations: 1.938 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.59e-05/0.1336, allocations: 10.38 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.1338, allocations: 177.1 kB / 302.3 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.052e-05/0.1338, allocations: 35.64 kB / 302.3 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.1338, allocations: 13 kB / 302.4 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.1338, allocations: 1.188 kB / 302.4 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.1338, allocations: 40.5 kB / 302.4 MB, free: 18.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1338, allocations: 0.5938 kB / 302.4 MB, free: 18.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000285/0.1341, allocations: 104.8 kB / 302.5 MB, free: 18.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.1342, allocations: 53.31 kB / 302.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.1343, allocations: 190.9 kB / 302.7 MB, free: 18.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.1343, allocations: 27.67 kB / 302.8 MB, free: 18.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/0.1343, allocations: 93.83 kB / 302.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1343, allocations: 32.73 kB / 302.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1343, allocations: 22.69 kB / 302.9 MB, free: 18.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.99e-05/0.1344, allocations: 324.9 kB / 303.2 MB, free: 17.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.1344, allocations: 7.047 kB / 303.2 MB, free: 17.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.1344, allocations: 7.172 kB / 303.2 MB, free: 17.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.1344, allocations: 29.61 kB / 303.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1344, allocations: 0 / 303.3 MB, free: 17.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.658e-05/0.1345, allocations: 61.19 kB / 303.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1345, allocations: 7.438 kB / 303.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1345, allocations: 0.6094 kB / 303.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1345, allocations: 0 / 303.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.1346, allocations: 18.61 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.1346, allocations: 3.078 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.1346, allocations: 11 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-06/0.1346, allocations: 1.281 kB / 303.4 MB, free: 17.89 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 3.803e-05/0.1346, allocations: 111.6 kB / 303.5 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.1347, allocations: 15.48 kB / 303.5 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.1348, allocations: 69.7 kB / 303.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1348, allocations: 1.062 kB / 303.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1348, allocations: 1.75 kB / 303.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1348, allocations: 8.109 kB / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.135, allocations: 235.7 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.135, allocations: 1.625 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.135, allocations: 21.33 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.135, allocations: 1.125 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.135, allocations: 0.5156 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.135, allocations: 7.219 kB / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.135, allocations: 0 / 303.8 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.61e-05/0.1351, allocations: 161 kB / 304 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.1351, allocations: 12.22 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.1351, allocations: 1.25 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.011e-05/0.1351, allocations: 2.344 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.1351, allocations: 8.953 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1351, allocations: 4.719 kB / 304 MB, free: 17.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.615e-05/0.1352, allocations: 59.77 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1352, allocations: 3.656 kB / 304.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001325/0.1353, allocations: 21.08 kB / 304.1 MB, free: 17.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001018/0.1363, allocations: 0.493 MB / 304.6 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.1364, allocations: 33.23 kB / 304.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1364, allocations: 1.312 kB / 304.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.1364, allocations: 25.97 kB / 304.7 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.1366, allocations: 26.03 kB / 304.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.1369, allocations: 218.9 kB / 304.9 MB, free: 16.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.156e-05/0.1369, allocations: 69.98 kB / 305 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.137, allocations: 13.3 kB / 305 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.137, allocations: 63.2 kB / 305 MB, free: 16.82 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.137, allocations: 3.938 kB / 305 MB, free: 16.82 MB / 282.7 MB Notification: Performance of Templates: time 0.003495/0.1405, allocations: 1.347 MB / 306.4 MB, free: 16.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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: 2.706950154155493]