Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001583/0.001583, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001678/0.001678, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.513/1.513, allocations: 230.2 MB / 255.1 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.2277/0.2277, allocations: 46.88 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25") [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.002483/0.002483, allocations: 79.88 kB / 0.4924 GB, free: 8.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1342, allocations: 65.99 MB / 0.5568 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003261/0.1375, allocations: 1.688 MB / 0.5585 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1385, allocations: 0.5566 MB / 0.559 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.1386, allocations: 4 kB / 0.559 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1388, allocations: 51.67 kB / 0.5591 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.1391, allocations: 99.59 kB / 0.5592 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.1395, allocations: 130.9 kB / 0.5593 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1397, allocations: 75.88 kB / 0.5594 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1398, allocations: 12.22 kB / 0.5594 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.1399, allocations: 47.77 kB / 0.5594 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.14, allocations: 35.84 kB / 0.5595 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.14, allocations: 8 kB / 0.5595 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1401, allocations: 59.97 kB / 0.5595 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.1401, allocations: 19.92 kB / 0.5595 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.1402, allocations: 31.73 kB / 0.5596 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1404, allocations: 115.5 kB / 0.5597 GB, free: 3.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1404, allocations: 0 / 0.5597 GB, free: 3.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1404, allocations: 0 / 0.5597 GB, free: 3.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1404, allocations: 0 / 0.5597 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005814/0.141, allocations: 414.7 kB / 0.5601 GB, free: 2.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.141, allocations: 12.03 kB / 0.5601 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.1411, allocations: 8.891 kB / 0.5601 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1413, allocations: 206.9 kB / 0.5603 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1413, allocations: 4.375 kB / 0.5603 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1413, allocations: 4.375 kB / 0.5603 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1415, allocations: 69.73 kB / 0.5604 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1415, allocations: 0 / 0.5604 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1415, allocations: 7.938 kB / 0.5604 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1416, allocations: 0 / 0.5604 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.1417, allocations: 43.95 kB / 0.5604 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.1421, allocations: 300.7 kB / 0.5607 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1424, allocations: 54.53 kB / 0.5608 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.1424, allocations: 24.97 kB / 0.5608 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1425, allocations: 8 kB / 0.5608 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1425, allocations: 30.56 kB / 0.5608 GB, free: 1.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1425, allocations: 0 / 0.5608 GB, free: 1.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001511/0.144, allocations: 397.4 kB / 0.5612 GB, free: 1.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1441, allocations: 59.34 kB / 0.5613 GB, free: 1.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.1442, allocations: 174.5 kB / 0.5614 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1443, allocations: 25.7 kB / 0.5614 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.1443, allocations: 100.1 kB / 0.5615 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.1444, allocations: 39.62 kB / 0.5616 GB, free: 0.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.1444, allocations: 29.7 kB / 0.5616 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1446, allocations: 318.8 kB / 0.5619 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1447, allocations: 47.91 kB / 0.562 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1449, allocations: 48.02 kB / 0.562 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.1451, allocations: 100.8 kB / 0.5621 GB, free: 416 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1451, allocations: 0 / 0.5621 GB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003321/0.1454, allocations: 149.4 kB / 0.5622 GB, free: 260 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1455, allocations: 8 kB / 0.5623 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1455, allocations: 0 / 0.5623 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1455, allocations: 0 / 0.5623 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1456, allocations: 27.92 kB / 0.5623 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1456, allocations: 3.984 kB / 0.5623 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.1457, allocations: 8 kB / 0.5623 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1457, allocations: 4 kB / 0.5623 GB, free: 208 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 (11): * Single equations (assignments): 11 * 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.0001205/0.1458, allocations: 133.8 kB / 0.5624 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.1459, allocations: 7.953 kB / 0.5624 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.1463, allocations: 162.3 kB / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1463, allocations: 3.938 kB / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1463, allocations: 0 / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1463, allocations: 0 / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007216/0.147, allocations: 483.9 kB / 0.563 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.147, allocations: 0 / 0.563 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1471, allocations: 23.98 kB / 0.5631 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1471, allocations: 0 / 0.5631 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1471, allocations: 8 kB / 0.5631 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1471, allocations: 4.062 kB / 0.5631 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1471, allocations: 3.938 kB / 0.5631 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.1475, allocations: 249.1 kB / 0.5633 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.1476, allocations: 93.05 kB / 0.5634 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1476, allocations: 4 kB / 0.5634 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.1477, allocations: 8.188 kB / 0.5634 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1478, allocations: 11.98 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1478, allocations: 8 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1479, allocations: 135.9 kB / 0.5636 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1479, allocations: 3.938 kB / 0.5636 GB, free: 14.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.1482, allocations: 27.94 kB / 0.5636 GB, free: 14.74 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001692/0.1499, allocations: 461.3 kB / 0.564 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.1502, allocations: 107.9 kB / 0.5641 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1502, allocations: 0 / 0.5641 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1504, allocations: 51.91 kB / 0.5642 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1508, allocations: 26.88 kB / 0.5642 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.1515, allocations: 309.1 kB / 0.5645 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1518, allocations: 0.7041 MB / 0.5652 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.1519, allocations: 23.42 kB / 0.5652 GB, free: 13.19 MB / 430.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1519, allocations: 7.875 kB / 0.5652 GB, free: 13.18 MB / 430.1 MB Notification: Performance of Templates: time 0.004144/0.156, allocations: 1.89 MB / 0.5671 GB, free: 11.29 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.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.59888644493185]