Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001367/0.001367, allocations: 115.1 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.001414/0.001414, allocations: 207.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.467/1.467, 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.2385/0.2385, allocations: 46.93 MB / 357.8 MB, free: 10.38 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.91 kB / 0.4921 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1372, allocations: 66 MB / 0.5565 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003702/0.1409, allocations: 1.624 MB / 0.5581 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.142, allocations: 0.5455 MB / 0.5587 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.1421, allocations: 0 / 0.5587 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1424, allocations: 79.75 kB / 0.5587 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1428, allocations: 107.6 kB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1431, allocations: 111.2 kB / 0.559 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1433, allocations: 87.73 kB / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1434, allocations: 23.92 kB / 0.5591 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.1435, allocations: 35.84 kB / 0.5591 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1436, allocations: 59.81 kB / 0.5592 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1436, allocations: 4 kB / 0.5592 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1437, allocations: 47.97 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.1438, allocations: 27.86 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.1438, allocations: 27.75 kB / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.144, allocations: 107.6 kB / 0.5594 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1441, allocations: 0 / 0.5594 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1441, allocations: 0 / 0.5594 GB, free: 2.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1441, allocations: 4 kB / 0.5594 GB, free: 2.473 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005678/0.1446, allocations: 410.7 kB / 0.5598 GB, free: 2.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1447, allocations: 8.031 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.1447, allocations: 20.84 kB / 0.5598 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.145, allocations: 211.1 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.145, allocations: 4.375 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.145, allocations: 4.375 kB / 0.56 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1452, allocations: 57.8 kB / 0.56 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1452, allocations: 4 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1452, allocations: 0 / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1452, allocations: 3.984 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1453, allocations: 27.97 kB / 0.5601 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.1458, allocations: 304.8 kB / 0.5604 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1459, allocations: 38.56 kB / 0.5604 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1459, allocations: 24.94 kB / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1459, allocations: 4 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.146, allocations: 30.56 kB / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.146, allocations: 0 / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009858/0.147, allocations: 241.3 kB / 0.5607 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.147, allocations: 55.34 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1472, allocations: 214.2 kB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1472, allocations: 33.7 kB / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.1473, allocations: 104.1 kB / 0.5611 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.1474, allocations: 31.73 kB / 0.5611 GB, free: 488 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.1474, allocations: 21.66 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1475, allocations: 326.8 kB / 0.5614 GB, free: 124 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.1476, allocations: 31.97 kB / 0.5615 GB, free: 92 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.1477, allocations: 36.05 kB / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1479, allocations: 72.89 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1479, allocations: 0 / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002353/0.1481, allocations: 113.5 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1482, allocations: 4 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1482, allocations: 7.875 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1482, allocations: 0 / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1483, allocations: 19.98 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1483, allocations: 0 / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1483, allocations: 15.92 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1483, allocations: 0 / 0.5617 GB, free: 15.82 MB / 430.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 0.0001022/0.1484, allocations: 132 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.1485, allocations: 19.91 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.1488, allocations: 123 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1488, allocations: 8 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1489, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1489, allocations: 3.938 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.1494, allocations: 423.2 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1494, allocations: 3.984 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.1495, allocations: 16 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1495, allocations: 3.938 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1495, allocations: 7.984 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1495, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1495, allocations: 4 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1498, allocations: 216.7 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.1498, allocations: 88.95 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1499, allocations: 4.422 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.1499, allocations: 7.984 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.15, allocations: 4 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.15, allocations: 7.984 kB / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1501, allocations: 164.2 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1501, allocations: 4 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1504, allocations: 27.88 kB / 0.5629 GB, free: 14.46 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: 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.001705/0.1521, allocations: 452.4 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.1523, allocations: 79.89 kB / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1523, allocations: 0 / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1524, allocations: 47.89 kB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1528, allocations: 19.97 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.1534, allocations: 296.4 kB / 0.5638 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1538, allocations: 0.7119 MB / 0.5645 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.1538, allocations: 15.44 kB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1538, allocations: 0 / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of Templates: time 0.003775/0.1576, allocations: 1.821 MB / 0.5663 GB, free: 11.15 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 7.82582900300622]