Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 191.7 kB / 21.39 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 247.1 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4189/0.4189, allocations: 44.24 MB / 343.5 MB, free: 7.613 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 65 kB / 479.3 MB, free: 24.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.142, allocations: 60.83 MB / 0.5275 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003378/0.1455, allocations: 1.581 MB / 0.529 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1473, allocations: 1.016 MB / 0.53 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.1474, allocations: 0 / 0.53 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1477, allocations: 27.84 kB / 0.5301 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1479, allocations: 35.8 kB / 0.5301 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1482, allocations: 95.19 kB / 0.5302 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1484, allocations: 71.89 kB / 0.5303 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1485, allocations: 20.11 kB / 0.5303 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.1486, allocations: 23.86 kB / 0.5303 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008705/0.1573, allocations: 31.78 kB / 0.5303 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.1573, allocations: 4 kB / 0.5303 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.1576, allocations: 55.97 kB / 0.5304 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.1576, allocations: 12 kB / 0.5304 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.1577, allocations: 31.78 kB / 0.5304 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.158, allocations: 95.59 kB / 0.5305 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.158, allocations: 4 kB / 0.5305 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.158, allocations: 0 / 0.5305 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.158, allocations: 0 / 0.5305 GB, free: 10.07 MB / 398.1 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.0005549/0.1586, allocations: 391 kB / 0.5309 GB, free: 9.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1586, allocations: 12.03 kB / 0.5309 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1587, allocations: 8.891 kB / 0.5309 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1589, allocations: 192.2 kB / 0.5311 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.159, allocations: 384 / 0.5311 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.159, allocations: 4.375 kB / 0.5311 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1592, allocations: 75.33 kB / 0.5312 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1592, allocations: 0 / 0.5312 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1592, allocations: 0 / 0.5312 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1592, allocations: 7.984 kB / 0.5312 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1593, allocations: 31.91 kB / 0.5312 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.1598, allocations: 300.8 kB / 0.5315 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1599, allocations: 54.55 kB / 0.5315 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.16, allocations: 24.92 kB / 0.5316 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.16, allocations: 0 / 0.5316 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.16, allocations: 34.55 kB / 0.5316 GB, free: 8.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1601, allocations: 4 kB / 0.5316 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000666/0.1607, allocations: 177.3 kB / 0.5318 GB, free: 8.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1608, allocations: 81.05 kB / 0.5319 GB, free: 8.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.161, allocations: 153.7 kB / 0.532 GB, free: 8.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.161, allocations: 25.7 kB / 0.532 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.1611, allocations: 92.12 kB / 0.5321 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1611, allocations: 27.75 kB / 0.5321 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.1612, allocations: 25.7 kB / 0.5322 GB, free: 8.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1613, allocations: 318.8 kB / 0.5325 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.1614, allocations: 27.97 kB / 0.5325 GB, free: 7.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.1615, allocations: 33.7 kB / 0.5325 GB, free: 7.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1617, allocations: 68.92 kB / 0.5326 GB, free: 7.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1617, allocations: 0 / 0.5326 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002114/0.1619, allocations: 97.56 kB / 0.5327 GB, free: 7.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.162, allocations: 9.703 kB / 0.5327 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.162, allocations: 4.375 kB / 0.5327 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.162, allocations: 0 / 0.5327 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1621, allocations: 12 kB / 0.5327 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1621, allocations: 7.984 kB / 0.5327 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.1622, allocations: 11.94 kB / 0.5327 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1622, allocations: 4 kB / 0.5327 GB, free: 7.559 MB / 398.1 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 9.948e-05/0.1623, allocations: 117.8 kB / 0.5328 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.1623, allocations: 7.953 kB / 0.5329 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.1626, allocations: 118.2 kB / 0.533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1626, allocations: 0 / 0.533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1627, allocations: 0 / 0.533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1627, allocations: 3.938 kB / 0.533 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1632, allocations: 394.3 kB / 0.5333 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1632, allocations: 0 / 0.5333 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.1633, allocations: 19.98 kB / 0.5334 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1633, allocations: 3.938 kB / 0.5334 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1633, allocations: 0 / 0.5334 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1633, allocations: 0 / 0.5334 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1633, allocations: 0 / 0.5334 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1636, allocations: 211.3 kB / 0.5336 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1637, allocations: 81.06 kB / 0.5336 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1637, allocations: 7.938 kB / 0.5337 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.1638, allocations: 4 kB / 0.5337 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1638, allocations: 7.984 kB / 0.5337 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1638, allocations: 4 kB / 0.5337 GB, free: 6.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.517e-05/0.1639, allocations: 113.9 kB / 0.5338 GB, free: 6.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1639, allocations: 0 / 0.5338 GB, free: 6.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1643, allocations: 24 kB / 0.5338 GB, free: 6.355 MB / 398.1 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.001635/0.1659, allocations: 444.7 kB / 0.5342 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1662, allocations: 75.88 kB / 0.5343 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1662, allocations: 0 / 0.5343 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.1663, allocations: 31.98 kB / 0.5343 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1667, allocations: 22.16 kB / 0.5344 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.1671, allocations: 169.9 kB / 0.5345 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1674, allocations: 0.7 MB / 0.5352 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.987e-05/0.1675, allocations: 16.95 kB / 0.5352 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1676, allocations: 23.38 kB / 0.5352 GB, free: 5 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1676, allocations: 0 / 0.5352 GB, free: 5 MB / 398.1 MB Notification: Performance of Templates: time 0.00444/0.172, allocations: 1.442 MB / 0.5366 GB, free: 3.566 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 5.453200165182352]