Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 111.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3908/0.3908, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 79.86 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 65.99 MB / 0.5568 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003177/0.1312, allocations: 1.679 MB / 0.5585 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1325, allocations: 0.5879 MB / 0.559 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.1325, allocations: 3.938 kB / 0.559 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.1332, allocations: 455.1 kB / 0.5595 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.1337, allocations: 291.3 kB / 0.5598 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1342, allocations: 191 kB / 0.5599 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.1345, allocations: 175.7 kB / 0.5601 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1346, allocations: 12.22 kB / 0.5601 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1347, allocations: 119.7 kB / 0.5602 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.1351, allocations: 247.5 kB / 0.5605 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1351, allocations: 4 kB / 0.5605 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1352, allocations: 51.98 kB / 0.5605 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1353, allocations: 87.56 kB / 0.5606 GB, free: 2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.1354, allocations: 111 kB / 0.5607 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.1358, allocations: 274.5 kB / 0.561 GB, free: 1.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.1358, allocations: 4 kB / 0.561 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1358, allocations: 0 / 0.561 GB, free: 1.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1358, allocations: 4 kB / 0.561 GB, free: 1.613 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008334/0.1367, allocations: 0.6607 MB / 0.5616 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1367, allocations: 8.031 kB / 0.5616 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.1368, allocations: 48.61 kB / 0.5617 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.1371, allocations: 308.5 kB / 0.562 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1371, allocations: 384 / 0.562 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1371, allocations: 4.375 kB / 0.562 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1373, allocations: 74.17 kB / 0.5621 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1373, allocations: 4.188 kB / 0.5621 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1373, allocations: 3.938 kB / 0.5621 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1373, allocations: 4 kB / 0.5621 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1375, allocations: 35.91 kB / 0.5621 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.138, allocations: 404.7 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1382, allocations: 46.59 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.1382, allocations: 24.94 kB / 0.5626 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1382, allocations: 0 / 0.5626 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1383, allocations: 30.56 kB / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1383, allocations: 0 / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001047/0.1393, allocations: 328.5 kB / 0.5629 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1394, allocations: 51.41 kB / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/0.1403, allocations: 0.8738 MB / 0.5638 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1403, allocations: 25.7 kB / 0.5638 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.1405, allocations: 236 kB / 0.564 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.1405, allocations: 19.86 kB / 0.5641 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.1406, allocations: 25.7 kB / 0.5641 GB, free: 14.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1408, allocations: 362.7 kB / 0.5644 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1409, allocations: 31.97 kB / 0.5645 GB, free: 13.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.141, allocations: 31.92 kB / 0.5645 GB, free: 13.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.1411, allocations: 76.81 kB / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1411, allocations: 0 / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002816/0.1414, allocations: 153.3 kB / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1414, allocations: 4 kB / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1414, allocations: 0 / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1415, allocations: 0 / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1416, allocations: 19.98 kB / 0.5647 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1416, allocations: 3.938 kB / 0.5647 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.1416, allocations: 11.92 kB / 0.5648 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1416, allocations: 0 / 0.5648 GB, free: 13.52 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.0002165/0.1419, allocations: 213.8 kB / 0.565 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.1419, allocations: 51.72 kB / 0.565 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.1423, allocations: 177.8 kB / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1423, allocations: 432 / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1423, allocations: 0 / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1423, allocations: 11.86 kB / 0.5652 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007386/0.143, allocations: 0.5148 MB / 0.5657 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.143, allocations: 4 kB / 0.5657 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.1431, allocations: 27.91 kB / 0.5657 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1431, allocations: 7.938 kB / 0.5657 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1431, allocations: 4 kB / 0.5657 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1431, allocations: 0 / 0.5657 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1431, allocations: 0 / 0.5657 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1435, allocations: 252.1 kB / 0.566 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.1436, allocations: 116.8 kB / 0.5661 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1436, allocations: 11.81 kB / 0.5661 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.1437, allocations: 8 kB / 0.5661 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1437, allocations: 7.984 kB / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1437, allocations: 0 / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006711/0.1444, allocations: 0.6589 MB / 0.5668 GB, free: 11.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1444, allocations: 4 kB / 0.5668 GB, free: 11.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1447, allocations: 28 kB / 0.5668 GB, free: 11.32 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.001698/0.1464, allocations: 452.1 kB / 0.5672 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1466, allocations: 71.89 kB / 0.5673 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1466, allocations: 4 kB / 0.5673 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.1467, allocations: 35.97 kB / 0.5673 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1471, allocations: 30.23 kB / 0.5674 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.1485, allocations: 0.8793 MB / 0.5682 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.149, allocations: 0.8299 MB / 0.569 GB, free: 9.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.149, allocations: 19.38 kB / 0.569 GB, free: 9.121 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.149, allocations: 0 / 0.569 GB, free: 9.121 MB / 430.1 MB Notification: Performance of Templates: time 0.008131/0.1571, allocations: 4.049 MB / 0.573 GB, free: 5.062 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.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.167831873055547]