Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001378/0.001378, allocations: 116 kB / 18.45 MB, free: 4.562 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.0018/0.0018, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.517/1.517, 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.2443/0.2443, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 59.91 kB / 0.4921 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1366, allocations: 66 MB / 0.5565 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003557/0.1402, allocations: 1.598 MB / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1413, allocations: 0.5377 MB / 0.5586 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.1413, allocations: 0 / 0.5586 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.1415, allocations: 27.84 kB / 0.5587 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.1419, allocations: 79.62 kB / 0.5587 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1421, allocations: 87.75 kB / 0.5588 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1423, allocations: 67.78 kB / 0.5589 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1424, allocations: 8 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.1425, allocations: 19.92 kB / 0.5589 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.1426, allocations: 31.78 kB / 0.5589 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1426, allocations: 4 kB / 0.5589 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.1427, allocations: 27.98 kB / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.1427, allocations: 11.94 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.1428, allocations: 27.78 kB / 0.559 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.143, allocations: 79.67 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.143, allocations: 4 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.143, allocations: 0 / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.143, allocations: 0 / 0.5591 GB, free: 2.676 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005275/0.1435, allocations: 386.9 kB / 0.5595 GB, free: 2.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1436, allocations: 12.03 kB / 0.5595 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.1436, allocations: 8.828 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1438, allocations: 200.2 kB / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1438, allocations: 384 / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1438, allocations: 384 / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.144, allocations: 53.81 kB / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.144, allocations: 0 / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.144, allocations: 4 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.144, allocations: 0 / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.1441, allocations: 23.97 kB / 0.5597 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.1445, allocations: 280.8 kB / 0.56 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.1447, allocations: 46.55 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1448, allocations: 12.86 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1448, allocations: 0 / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1448, allocations: 34.56 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1448, allocations: 0 / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005702/0.1454, allocations: 145.5 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1454, allocations: 55.41 kB / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1456, allocations: 147.5 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1456, allocations: 25.7 kB / 0.5605 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.1457, allocations: 104 kB / 0.5606 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1457, allocations: 15.86 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.1457, allocations: 21.7 kB / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1459, allocations: 318.8 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.146, allocations: 23.98 kB / 0.5609 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.146, allocations: 19.98 kB / 0.5609 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1462, allocations: 40.83 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1462, allocations: 0 / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002104/0.1464, allocations: 85.61 kB / 0.5611 GB, free: 436 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1464, allocations: 5.875 kB / 0.5611 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1464, allocations: 8 kB / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1464, allocations: 0 / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.1465, allocations: 11.94 kB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1465, allocations: 3.984 kB / 0.5611 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.1465, allocations: 4 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1465, allocations: 288 / 0.5611 GB, free: 404 kB / 414.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 (5): * Single equations (assignments): 5 * 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.0001069/0.1467, allocations: 124 kB / 0.5612 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1467, allocations: 7.891 kB / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.1469, allocations: 97.94 kB / 0.5613 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1469, allocations: 4 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1469, allocations: 0 / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1469, allocations: 320 / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.1474, allocations: 350.7 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1475, allocations: 3.938 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.1475, allocations: 11.98 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1475, allocations: 4 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1475, allocations: 4 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1475, allocations: 0 / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1475, allocations: 3.938 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1478, allocations: 183.4 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.1478, allocations: 81.06 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1479, allocations: 12 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.1479, allocations: 3.984 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.148, allocations: 7.938 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.148, allocations: 0 / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1481, allocations: 120.1 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1481, allocations: 0 / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1483, allocations: 15.94 kB / 0.5621 GB, free: 15.27 MB / 430.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 (5): * Single equations (assignments): 5 * 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.00149/0.1498, allocations: 419.8 kB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.15, allocations: 47.91 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.15, allocations: 0 / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.1501, allocations: 15.98 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1505, allocations: 22.95 kB / 0.5626 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.151, allocations: 207.8 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.1514, allocations: 0.6924 MB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.1515, allocations: 19.42 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1515, allocations: 0 / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of Templates: time 0.003953/0.1554, allocations: 1.425 MB / 0.5648 GB, free: 12.53 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 7.936297726002522]