Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001303/0.001303, 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.00145/0.00145, 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.494/1.494, allocations: 230.2 MB / 255.2 MB, free: 15.04 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.2378/0.2378, allocations: 46.88 MB / 358.1 MB, free: 10.5 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6") [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.00241/0.00241, allocations: 83.86 kB / 0.4924 GB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1443, allocations: 65.98 MB / 0.5568 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00361/0.1479, allocations: 1.679 MB / 0.5585 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1492, allocations: 0.5372 MB / 0.559 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1493, allocations: 0 / 0.559 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.1497, allocations: 103.7 kB / 0.5591 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.1501, allocations: 107.6 kB / 0.5592 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1505, allocations: 99.5 kB / 0.5593 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.1508, allocations: 99.72 kB / 0.5594 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1509, allocations: 16 kB / 0.5594 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.151, allocations: 43.83 kB / 0.5594 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1512, allocations: 63.81 kB / 0.5595 GB, free: 3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.1512, allocations: 15.92 kB / 0.5595 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1513, allocations: 51.92 kB / 0.5596 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.1514, allocations: 27.91 kB / 0.5596 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.1515, allocations: 35.69 kB / 0.5596 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.1518, allocations: 131.4 kB / 0.5597 GB, free: 2.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1518, allocations: 0 / 0.5597 GB, free: 2.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1518, allocations: 0 / 0.5597 GB, free: 2.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.1518, allocations: 0 / 0.5597 GB, free: 2.742 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007155/0.1525, allocations: 438.6 kB / 0.5602 GB, free: 2.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.1526, allocations: 12.03 kB / 0.5602 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.1527, allocations: 20.78 kB / 0.5602 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.153, allocations: 204.1 kB / 0.5604 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.153, allocations: 8.375 kB / 0.5604 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.153, allocations: 4.375 kB / 0.5604 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1532, allocations: 70.22 kB / 0.5605 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1533, allocations: 4.141 kB / 0.5605 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1533, allocations: 3.938 kB / 0.5605 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1533, allocations: 0 / 0.5605 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1534, allocations: 47.91 kB / 0.5605 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.154, allocations: 332.7 kB / 0.5608 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1541, allocations: 54.67 kB / 0.5609 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.1542, allocations: 32.72 kB / 0.5609 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.1542, allocations: 0 / 0.5609 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.1543, allocations: 34.56 kB / 0.561 GB, free: 1.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.1543, allocations: 0 / 0.561 GB, free: 1.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001242/0.1555, allocations: 309.2 kB / 0.5613 GB, free: 1.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.1556, allocations: 63.41 kB / 0.5613 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1559, allocations: 239.3 kB / 0.5615 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1559, allocations: 29.7 kB / 0.5616 GB, free: 0.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.156, allocations: 112.1 kB / 0.5617 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.156, allocations: 47.58 kB / 0.5617 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1561, allocations: 29.7 kB / 0.5617 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1563, allocations: 326.8 kB / 0.5621 GB, free: 148 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1564, allocations: 31.98 kB / 0.5621 GB, free: 116 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.1565, allocations: 47.91 kB / 0.5621 GB, free: 68 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1567, allocations: 84.88 kB / 0.5622 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1567, allocations: 0 / 0.5622 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000289/0.157, allocations: 137.5 kB / 0.5623 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.157, allocations: 4 kB / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1571, allocations: 0 / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1571, allocations: 4 kB / 0.5624 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1572, allocations: 31.92 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1572, allocations: 3.938 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.1573, allocations: 11.98 kB / 0.5624 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1573, allocations: 0 / 0.5624 GB, free: 15.79 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001315/0.1574, allocations: 133.8 kB / 0.5625 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.1575, allocations: 11.91 kB / 0.5625 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.1579, allocations: 166.9 kB / 0.5627 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1579, allocations: 4 kB / 0.5627 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1579, allocations: 7.875 kB / 0.5627 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1579, allocations: 0 / 0.5627 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.1586, allocations: 479.1 kB / 0.5632 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1586, allocations: 0 / 0.5632 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.1587, allocations: 23.98 kB / 0.5632 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1587, allocations: 8.031 kB / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1587, allocations: 4 kB / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1587, allocations: 0 / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1587, allocations: 7.938 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.1591, allocations: 248.2 kB / 0.5634 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1591, allocations: 93.02 kB / 0.5635 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1591, allocations: 4 kB / 0.5635 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1592, allocations: 7.984 kB / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.1593, allocations: 8 kB / 0.5636 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1593, allocations: 7.984 kB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.1595, allocations: 177.2 kB / 0.5637 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1595, allocations: 3.938 kB / 0.5637 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1597, allocations: 31.92 kB / 0.5638 GB, free: 14.28 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 (13): * Single equations (assignments): 13 * 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.001732/0.1615, allocations: 464.9 kB / 0.5642 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.1617, allocations: 83.95 kB / 0.5643 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1617, allocations: 8 kB / 0.5643 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1619, allocations: 55.84 kB / 0.5643 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1623, allocations: 33.92 kB / 0.5644 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.163, allocations: 333.4 kB / 0.5647 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1634, allocations: 0.7236 MB / 0.5654 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.1634, allocations: 23.38 kB / 0.5654 GB, free: 12.68 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1634, allocations: 0 / 0.5654 GB, free: 12.68 MB / 430.1 MB Notification: Performance of Templates: time 0.004867/0.1683, allocations: 2.059 MB / 0.5674 GB, free: 10.62 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.828780354000628]