Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001946/0.001946, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.002443/0.002443, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.615/1.615, allocations: 230.2 MB / 255.2 MB, free: 15.36 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.27/0.27, allocations: 46.89 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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11") [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.002292/0.002292, allocations: 85.53 kB / 0.4924 GB, free: 26.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1282, allocations: 65.98 MB / 0.5568 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003298/0.1315, allocations: 1.666 MB / 0.5584 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1334, allocations: 1.217 MB / 0.5596 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.1335, allocations: 0 / 0.5596 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1337, allocations: 23.86 kB / 0.5597 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.134, allocations: 87.59 kB / 0.5597 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1344, allocations: 175.3 kB / 0.5599 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1346, allocations: 83.75 kB / 0.56 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1347, allocations: 19.92 kB / 0.56 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.1348, allocations: 27.86 kB / 0.56 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1349, allocations: 47.77 kB / 0.5601 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.135, allocations: 4 kB / 0.5601 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.1352, allocations: 99.94 kB / 0.5602 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.1352, allocations: 27.91 kB / 0.5602 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.1353, allocations: 27.8 kB / 0.5602 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.1356, allocations: 139.5 kB / 0.5604 GB, free: 4.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1356, allocations: 0 / 0.5604 GB, free: 4.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1356, allocations: 0 / 0.5604 GB, free: 4.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1356, allocations: 0 / 0.5604 GB, free: 4.941 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.0006292/0.1362, allocations: 430.6 kB / 0.5608 GB, free: 4.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1362, allocations: 8.031 kB / 0.5608 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.1363, allocations: 12.89 kB / 0.5608 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1365, allocations: 200.2 kB / 0.561 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1366, allocations: 4.375 kB / 0.561 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1366, allocations: 4.375 kB / 0.561 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1368, allocations: 67.95 kB / 0.5611 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1368, allocations: 4.188 kB / 0.5611 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1368, allocations: 11.88 kB / 0.5611 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1368, allocations: 0 / 0.5611 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.137, allocations: 43.95 kB / 0.5611 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1375, allocations: 308.7 kB / 0.5614 GB, free: 3.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1376, allocations: 50.55 kB / 0.5615 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.1377, allocations: 24.94 kB / 0.5615 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1377, allocations: 0 / 0.5615 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1378, allocations: 34.56 kB / 0.5615 GB, free: 3.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1378, allocations: 3.938 kB / 0.5615 GB, free: 3.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008634/0.1386, allocations: 233.3 kB / 0.5617 GB, free: 3.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.1387, allocations: 77.11 kB / 0.5618 GB, free: 3.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1389, allocations: 147.9 kB / 0.562 GB, free: 3.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1389, allocations: 33.7 kB / 0.562 GB, free: 3.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.1389, allocations: 92.08 kB / 0.5621 GB, free: 2.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.139, allocations: 23.8 kB / 0.5621 GB, free: 2.949 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.139, allocations: 29.7 kB / 0.5621 GB, free: 2.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1392, allocations: 322.7 kB / 0.5624 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1393, allocations: 43.95 kB / 0.5625 GB, free: 2.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1395, allocations: 49.69 kB / 0.5625 GB, free: 2.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.1397, allocations: 92.89 kB / 0.5626 GB, free: 2.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1397, allocations: 0 / 0.5626 GB, free: 2.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003167/0.14, allocations: 121.8 kB / 0.5627 GB, free: 2.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.14, allocations: 4 kB / 0.5627 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1401, allocations: 4 kB / 0.5627 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1401, allocations: 0 / 0.5627 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1402, allocations: 27.91 kB / 0.5628 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1402, allocations: 8.062 kB / 0.5628 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.1403, allocations: 4 kB / 0.5628 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1403, allocations: 11.98 kB / 0.5628 GB, free: 2.215 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 (7): * Single equations (assignments): 7 * 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.0001101/0.1404, allocations: 117.8 kB / 0.5629 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1404, allocations: 7.953 kB / 0.5629 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.1408, allocations: 138.3 kB / 0.563 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1408, allocations: 0 / 0.563 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1408, allocations: 7.938 kB / 0.563 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1408, allocations: 0 / 0.563 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.1414, allocations: 418.4 kB / 0.5634 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1414, allocations: 0 / 0.5634 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.1415, allocations: 19.98 kB / 0.5635 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1415, allocations: 4 kB / 0.5635 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1415, allocations: 4.281 kB / 0.5635 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1415, allocations: 3.938 kB / 0.5635 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1416, allocations: 4 kB / 0.5635 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.1419, allocations: 235.2 kB / 0.5637 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.142, allocations: 89.05 kB / 0.5638 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.142, allocations: 3.984 kB / 0.5638 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.1421, allocations: 11.94 kB / 0.5638 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1421, allocations: 3.984 kB / 0.5638 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1421, allocations: 8 kB / 0.5638 GB, free: 1.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.1422, allocations: 113.1 kB / 0.5639 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1422, allocations: 0 / 0.5639 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.1426, allocations: 39.88 kB / 0.564 GB, free: 0.9023 MB / 414.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 (7): * Single equations (assignments): 7 * 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.001765/0.1443, allocations: 493 kB / 0.5644 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003473/0.1447, allocations: 91.86 kB / 0.5645 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1447, allocations: 0 / 0.5645 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1448, allocations: 47.95 kB / 0.5646 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1452, allocations: 18.98 kB / 0.5646 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.1458, allocations: 243.5 kB / 0.5648 GB, free: 172 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1462, allocations: 0.7002 MB / 0.5655 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.1462, allocations: 23.38 kB / 0.5655 GB, free: 15.42 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1462, allocations: 0 / 0.5655 GB, free: 15.42 MB / 430.1 MB Notification: Performance of Templates: time 0.004614/0.1508, allocations: 2.186 MB / 0.5677 GB, free: 13.23 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.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.438274470157921]