Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001692/0.001692, allocations: 110.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.002163/0.002163, allocations: 210.5 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.517/1.517, allocations: 230.2 MB / 255.1 MB, free: 15.4 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.228/0.228, allocations: 46.89 MB / 358.1 MB, free: 10.54 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-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.CombiTable1Ds.Test3,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-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3") [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: 88.05 kB / 0.4924 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1428, allocations: 65.98 MB / 0.5568 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003366/0.1462, allocations: 1.625 MB / 0.5584 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1473, allocations: 0.541 MB / 0.5589 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.1473, allocations: 0 / 0.5589 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1476, allocations: 75.77 kB / 0.559 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.1479, allocations: 99.59 kB / 0.5591 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1482, allocations: 91.69 kB / 0.5592 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1484, allocations: 79.81 kB / 0.5593 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1485, allocations: 12 kB / 0.5593 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.1486, allocations: 43.78 kB / 0.5593 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1487, allocations: 55.81 kB / 0.5594 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1487, allocations: 0 / 0.5594 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1488, allocations: 47.98 kB / 0.5594 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.1489, allocations: 19.91 kB / 0.5594 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.1489, allocations: 31.75 kB / 0.5595 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.1491, allocations: 103.6 kB / 0.5596 GB, free: 3.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1491, allocations: 0 / 0.5596 GB, free: 3.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1491, allocations: 0 / 0.5596 GB, free: 3.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1491, allocations: 0 / 0.5596 GB, free: 3.105 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.0005826/0.1497, allocations: 414.7 kB / 0.56 GB, free: 2.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1498, allocations: 11.97 kB / 0.56 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1498, allocations: 24.83 kB / 0.56 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.15, allocations: 188.2 kB / 0.5602 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.15, allocations: 12.36 kB / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1501, allocations: 384 / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1502, allocations: 58.23 kB / 0.5603 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1502, allocations: 192 / 0.5603 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1502, allocations: 3.938 kB / 0.5603 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1502, allocations: 4 kB / 0.5603 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1503, allocations: 31.86 kB / 0.5603 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1508, allocations: 288.8 kB / 0.5606 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.1509, allocations: 46.55 kB / 0.5606 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.1509, allocations: 12.86 kB / 0.5606 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1509, allocations: 7.938 kB / 0.5606 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.151, allocations: 34.56 kB / 0.5607 GB, free: 1.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.151, allocations: 0 / 0.5607 GB, free: 1.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009075/0.1519, allocations: 225.4 kB / 0.5609 GB, free: 1.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1519, allocations: 55.41 kB / 0.5609 GB, free: 1.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1521, allocations: 201.5 kB / 0.5611 GB, free: 1.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1522, allocations: 25.7 kB / 0.5612 GB, free: 1.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.1522, allocations: 108.1 kB / 0.5613 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1523, allocations: 27.75 kB / 0.5613 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1523, allocations: 25.7 kB / 0.5613 GB, free: 1.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1524, allocations: 326.8 kB / 0.5616 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/0.1525, allocations: 23.98 kB / 0.5616 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.1526, allocations: 27.98 kB / 0.5617 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1528, allocations: 60.77 kB / 0.5617 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1528, allocations: 0 / 0.5617 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002082/0.153, allocations: 93.62 kB / 0.5618 GB, free: 0.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.153, allocations: 4 kB / 0.5618 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.153, allocations: 4 kB / 0.5618 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.153, allocations: 7.984 kB / 0.5618 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.1531, allocations: 12 kB / 0.5618 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1531, allocations: 0 / 0.5618 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.1532, allocations: 11.98 kB / 0.5619 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1532, allocations: 4.312 kB / 0.5619 GB, free: 0.5391 MB / 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 (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.0001278/0.1533, allocations: 129.7 kB / 0.562 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.1533, allocations: 11.91 kB / 0.562 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.1536, allocations: 131 kB / 0.5621 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1536, allocations: 4.422 kB / 0.5621 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1536, allocations: 3.938 kB / 0.5621 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1536, allocations: 0 / 0.5621 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.1542, allocations: 407.2 kB / 0.5625 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1542, allocations: 0 / 0.5625 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-05/0.1543, allocations: 20.02 kB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1543, allocations: 7.922 kB / 0.5625 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1543, allocations: 11.94 kB / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1543, allocations: 0 / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1543, allocations: 0 / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1546, allocations: 204.3 kB / 0.5627 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.1546, allocations: 85.06 kB / 0.5628 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1546, allocations: 3.938 kB / 0.5628 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.1547, allocations: 7.984 kB / 0.5628 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.1547, allocations: 8 kB / 0.5628 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.1548, allocations: 4 kB / 0.5628 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.1549, allocations: 152.9 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1549, allocations: 0 / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1552, allocations: 23.88 kB / 0.563 GB, free: 15.23 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.001689/0.1569, allocations: 457.4 kB / 0.5635 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1571, allocations: 63.95 kB / 0.5635 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1571, allocations: 4 kB / 0.5635 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.1572, allocations: 31.92 kB / 0.5635 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1576, allocations: 22.33 kB / 0.5636 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.1582, allocations: 277 kB / 0.5638 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1585, allocations: 0.7087 MB / 0.5645 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.1585, allocations: 15.44 kB / 0.5645 GB, free: 13.78 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1585, allocations: 0 / 0.5645 GB, free: 13.78 MB / 430.1 MB Notification: Performance of Templates: time 0.004517/0.1631, allocations: 1.741 MB / 0.5662 GB, free: 12.03 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.895930954953656]