Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001615/0.001615, allocations: 112.8 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.002002/0.002002, 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.506/1.506, allocations: 230.2 MB / 255.1 MB, free: 15.41 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.2444/0.2444, allocations: 46.89 MB / 358.1 MB, free: 10.51 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [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.002251/0.002251, allocations: 82.16 kB / 0.4924 GB, free: 26.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1321, allocations: 65.98 MB / 0.5568 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003145/0.1352, allocations: 1.615 MB / 0.5584 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1371, allocations: 1.179 MB / 0.5595 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.1371, allocations: 0 / 0.5595 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.1374, allocations: 19.86 kB / 0.5596 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1377, allocations: 87.61 kB / 0.5596 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.138, allocations: 111.7 kB / 0.5597 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1381, allocations: 63.84 kB / 0.5598 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.1382, allocations: 19.91 kB / 0.5598 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.1383, allocations: 27.86 kB / 0.5598 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1384, allocations: 39.59 kB / 0.5599 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1384, allocations: 4 kB / 0.5599 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.1386, allocations: 91.92 kB / 0.56 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.1387, allocations: 19.94 kB / 0.56 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.1387, allocations: 27.8 kB / 0.56 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.139, allocations: 139.5 kB / 0.5602 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.139, allocations: 4 kB / 0.5602 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.139, allocations: 0 / 0.5602 GB, free: 5.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.139, allocations: 0 / 0.5602 GB, free: 5.156 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.0005728/0.1396, allocations: 398.8 kB / 0.5605 GB, free: 4.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1396, allocations: 8.031 kB / 0.5605 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.1397, allocations: 8.891 kB / 0.5606 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1399, allocations: 204.1 kB / 0.5608 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1399, allocations: 4.375 kB / 0.5608 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1399, allocations: 384 / 0.5608 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1401, allocations: 63.95 kB / 0.5608 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1401, allocations: 192 / 0.5608 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1401, allocations: 7.938 kB / 0.5608 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1401, allocations: 0 / 0.5608 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.1402, allocations: 19.98 kB / 0.5608 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1406, allocations: 288.9 kB / 0.5611 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.1409, allocations: 50.47 kB / 0.5612 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.1409, allocations: 16.86 kB / 0.5612 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.141, allocations: 0 / 0.5612 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.141, allocations: 42.56 kB / 0.5612 GB, free: 3.895 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.141, allocations: 0 / 0.5612 GB, free: 3.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006141/0.1416, allocations: 157.4 kB / 0.5614 GB, free: 3.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.1417, allocations: 81.09 kB / 0.5615 GB, free: 3.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1418, allocations: 143.9 kB / 0.5616 GB, free: 3.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1419, allocations: 25.7 kB / 0.5616 GB, free: 3.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.1419, allocations: 96.14 kB / 0.5617 GB, free: 3.359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1419, allocations: 19.84 kB / 0.5617 GB, free: 3.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.142, allocations: 17.72 kB / 0.5617 GB, free: 3.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1421, allocations: 326.8 kB / 0.5621 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.1422, allocations: 23.86 kB / 0.5621 GB, free: 2.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.1423, allocations: 33.7 kB / 0.5621 GB, free: 2.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1424, allocations: 56.86 kB / 0.5622 GB, free: 2.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1424, allocations: 3.984 kB / 0.5622 GB, free: 2.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.1426, allocations: 81.62 kB / 0.5622 GB, free: 2.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1427, allocations: 8 kB / 0.5623 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1427, allocations: 0 / 0.5623 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1427, allocations: 0 / 0.5623 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.1427, allocations: 15.92 kB / 0.5623 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1428, allocations: 4 kB / 0.5623 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.1428, allocations: 11.92 kB / 0.5623 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1428, allocations: 4 kB / 0.5623 GB, free: 2.734 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 (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.0001037/0.1429, allocations: 125.7 kB / 0.5624 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.1429, allocations: 7.953 kB / 0.5624 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.1432, allocations: 97.94 kB / 0.5625 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1432, allocations: 0 / 0.5625 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1432, allocations: 8 kB / 0.5625 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1432, allocations: 0 / 0.5625 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.1437, allocations: 366.7 kB / 0.5629 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1437, allocations: 0 / 0.5629 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.1438, allocations: 8 kB / 0.5629 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1438, allocations: 0 / 0.5629 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1438, allocations: 7.984 kB / 0.5629 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1438, allocations: 0 / 0.5629 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1438, allocations: 3.938 kB / 0.5629 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.144, allocations: 191.4 kB / 0.5631 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.1441, allocations: 81.06 kB / 0.5631 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1441, allocations: 4 kB / 0.5631 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.1442, allocations: 0 / 0.5631 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1442, allocations: 11.92 kB / 0.5632 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1442, allocations: 0 / 0.5632 GB, free: 1.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1444, allocations: 121.1 kB / 0.5633 GB, free: 1.613 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1444, allocations: 0 / 0.5633 GB, free: 1.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.1447, allocations: 39.88 kB / 0.5633 GB, free: 1.574 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 (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.001763/0.1465, allocations: 489.4 kB / 0.5638 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.1467, allocations: 51.91 kB / 0.5638 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1467, allocations: 0 / 0.5638 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.518e-05/0.1468, allocations: 31.97 kB / 0.5639 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1471, allocations: 18.8 kB / 0.5639 GB, free: 1.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.1476, allocations: 199.1 kB / 0.5641 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.148, allocations: 0.6924 MB / 0.5647 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.148, allocations: 15.42 kB / 0.5648 GB, free: 216 kB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.148, allocations: 0 / 0.5648 GB, free: 216 kB / 414.1 MB Notification: Performance of Templates: time 0.004212/0.1522, allocations: 1.975 MB / 0.5667 GB, free: 14.23 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.170228511095047]