Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001523/0.001523, allocations: 112.9 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.001372/0.001372, 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.497/1.497, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2464/0.2464, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23") [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.002235/0.002235, allocations: 79.86 kB / 0.4924 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1393, allocations: 65.98 MB / 0.5568 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003149/0.1424, allocations: 1.614 MB / 0.5584 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1442, allocations: 1.175 MB / 0.5595 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.1443, allocations: 0 / 0.5595 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1445, allocations: 27.8 kB / 0.5596 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1448, allocations: 87.61 kB / 0.5597 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1451, allocations: 107.1 kB / 0.5598 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1453, allocations: 71.77 kB / 0.5598 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1454, allocations: 8 kB / 0.5598 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.1455, allocations: 27.91 kB / 0.5599 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1456, allocations: 35.84 kB / 0.5599 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1456, allocations: 4 kB / 0.5599 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.1458, allocations: 95.88 kB / 0.56 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.1459, allocations: 19.91 kB / 0.56 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.1459, allocations: 19.88 kB / 0.56 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1462, allocations: 151.4 kB / 0.5602 GB, free: 2.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1462, allocations: 0 / 0.5602 GB, free: 2.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1462, allocations: 0 / 0.5602 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1462, allocations: 0 / 0.5602 GB, free: 2.461 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.0005658/0.1468, allocations: 406.8 kB / 0.5606 GB, free: 2.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1468, allocations: 8.031 kB / 0.5606 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.1468, allocations: 8.891 kB / 0.5606 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1471, allocations: 192.3 kB / 0.5608 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1471, allocations: 384 / 0.5608 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1471, allocations: 4.375 kB / 0.5608 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1473, allocations: 71.89 kB / 0.5608 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1473, allocations: 192 / 0.5608 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1473, allocations: 3.938 kB / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1473, allocations: 0 / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.1474, allocations: 23.97 kB / 0.5609 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1478, allocations: 288.9 kB / 0.5611 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.1481, allocations: 50.44 kB / 0.5612 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.1481, allocations: 16.94 kB / 0.5612 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1481, allocations: 4 kB / 0.5612 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1482, allocations: 30.56 kB / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1482, allocations: 0 / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005868/0.1488, allocations: 157.4 kB / 0.5614 GB, free: 1.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.1488, allocations: 77.11 kB / 0.5615 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.149, allocations: 144 kB / 0.5616 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.149, allocations: 33.64 kB / 0.5616 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.1491, allocations: 92.12 kB / 0.5617 GB, free: 0.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1491, allocations: 19.8 kB / 0.5617 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.1491, allocations: 21.72 kB / 0.5617 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1493, allocations: 330.8 kB / 0.5621 GB, free: 296 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.1494, allocations: 19.98 kB / 0.5621 GB, free: 276 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.1495, allocations: 33.69 kB / 0.5621 GB, free: 236 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.1496, allocations: 56.77 kB / 0.5622 GB, free: 176 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1496, allocations: 4.031 kB / 0.5622 GB, free: 172 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.1498, allocations: 81.62 kB / 0.5622 GB, free: 84 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1498, allocations: 11.98 kB / 0.5623 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1498, allocations: 0 / 0.5623 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1498, allocations: 3.938 kB / 0.5623 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.1499, allocations: 8 kB / 0.5623 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1499, allocations: 4 kB / 0.5623 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.15, allocations: 3.984 kB / 0.5623 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.15, allocations: 8 kB / 0.5623 GB, free: 44 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.0001073/0.1501, allocations: 121.7 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.1501, allocations: 7.953 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.1504, allocations: 93.95 kB / 0.5625 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1504, allocations: 4 kB / 0.5625 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1504, allocations: 0 / 0.5625 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1504, allocations: 288 / 0.5625 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.1509, allocations: 370.7 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1509, allocations: 4.062 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.1509, allocations: 15.98 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1509, allocations: 3.984 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.1509, allocations: 0 / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1509, allocations: 0 / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1509, allocations: 3.938 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1512, allocations: 187.5 kB / 0.5631 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.1512, allocations: 81.06 kB / 0.5631 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1513, allocations: 4 kB / 0.5631 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.1513, allocations: 11.92 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.1514, allocations: 3.938 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1514, allocations: 0 / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1515, allocations: 117.1 kB / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1515, allocations: 4 kB / 0.5633 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.1518, allocations: 39.86 kB / 0.5633 GB, free: 14.88 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.001702/0.1535, allocations: 495 kB / 0.5638 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1537, allocations: 47.95 kB / 0.5638 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1537, allocations: 0 / 0.5638 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.1538, allocations: 27.92 kB / 0.5639 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1542, allocations: 23.27 kB / 0.5639 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.1546, allocations: 203.2 kB / 0.5641 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.155, allocations: 0.6924 MB / 0.5648 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.155, allocations: 19.42 kB / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.155, allocations: 0 / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of Templates: time 0.004186/0.1592, allocations: 1.966 MB / 0.5667 GB, free: 11.54 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.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.110859378939494]