Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001584/0.001584, 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.001813/0.001813, 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.538/1.538, allocations: 230.2 MB / 255.2 MB, free: 15.27 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.2463/0.2463, allocations: 46.89 MB / 358.1 MB, free: 10.55 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28") [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.002237/0.002237, allocations: 75.88 kB / 0.4924 GB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1432, allocations: 65.99 MB / 0.5568 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003266/0.1465, allocations: 1.622 MB / 0.5584 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1476, allocations: 0.5566 MB / 0.559 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.1476, allocations: 4 kB / 0.559 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.148, allocations: 99.72 kB / 0.5591 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.1483, allocations: 119.6 kB / 0.5592 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1486, allocations: 119.3 kB / 0.5593 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.1488, allocations: 87.8 kB / 0.5594 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1489, allocations: 15.98 kB / 0.5594 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.149, allocations: 43.89 kB / 0.5594 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1492, allocations: 79.67 kB / 0.5595 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1492, allocations: 0 / 0.5595 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1493, allocations: 47.98 kB / 0.5595 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.1494, allocations: 23.91 kB / 0.5596 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.1494, allocations: 39.67 kB / 0.5596 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.1496, allocations: 115.4 kB / 0.5597 GB, free: 2.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1496, allocations: 4 kB / 0.5597 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1496, allocations: 4 kB / 0.5597 GB, free: 2.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1497, allocations: 0 / 0.5597 GB, free: 2.953 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.0005944/0.1503, allocations: 430.5 kB / 0.5601 GB, free: 2.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1503, allocations: 12.02 kB / 0.5601 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.1503, allocations: 12.89 kB / 0.5602 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1506, allocations: 208.9 kB / 0.5604 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1506, allocations: 4.375 kB / 0.5604 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.1506, allocations: 4.375 kB / 0.5604 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1508, allocations: 58.23 kB / 0.5604 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1508, allocations: 4.141 kB / 0.5604 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1508, allocations: 3.938 kB / 0.5604 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1508, allocations: 7.984 kB / 0.5604 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1509, allocations: 27.92 kB / 0.5605 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.1514, allocations: 304.8 kB / 0.5608 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1515, allocations: 46.56 kB / 0.5608 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1516, allocations: 16.94 kB / 0.5608 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1516, allocations: 0 / 0.5608 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.1516, allocations: 38.5 kB / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1516, allocations: 0 / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001009/0.1526, allocations: 257.1 kB / 0.5611 GB, free: 1.371 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1527, allocations: 51.41 kB / 0.5611 GB, free: 1.309 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.153, allocations: 258.1 kB / 0.5614 GB, free: 1.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.153, allocations: 29.7 kB / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.1531, allocations: 108.1 kB / 0.5615 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.1531, allocations: 35.73 kB / 0.5616 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.1532, allocations: 21.72 kB / 0.5616 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1534, allocations: 326.8 kB / 0.5619 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1535, allocations: 31.97 kB / 0.5619 GB, free: 492 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.1535, allocations: 27.98 kB / 0.5619 GB, free: 464 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1537, allocations: 72.81 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1537, allocations: 4 kB / 0.562 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002569/0.154, allocations: 117.5 kB / 0.5621 GB, free: 260 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.154, allocations: 8 kB / 0.5621 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.154, allocations: 0 / 0.5621 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.154, allocations: 0 / 0.5621 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1541, allocations: 19.98 kB / 0.5622 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1541, allocations: 0 / 0.5622 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.1542, allocations: 7.984 kB / 0.5622 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1542, allocations: 4 kB / 0.5622 GB, free: 220 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 (8): * Single equations (assignments): 8 * 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.0001167/0.1543, allocations: 137.8 kB / 0.5623 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.1543, allocations: 15.91 kB / 0.5623 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.1547, allocations: 127.4 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1547, allocations: 7.984 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1547, allocations: 4 kB / 0.5625 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1547, allocations: 0 / 0.5625 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.1553, allocations: 439.2 kB / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1553, allocations: 0 / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.1554, allocations: 15.98 kB / 0.5629 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1554, allocations: 0 / 0.5629 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1554, allocations: 7.938 kB / 0.5629 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1554, allocations: 3.938 kB / 0.5629 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1554, allocations: 4.359 kB / 0.5629 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.1557, allocations: 220.3 kB / 0.5631 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.1558, allocations: 81.06 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1558, allocations: 7.938 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.1559, allocations: 11.94 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1559, allocations: 7.969 kB / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1559, allocations: 4 kB / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.1561, allocations: 192.4 kB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1561, allocations: 0 / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1564, allocations: 23.94 kB / 0.5634 GB, free: 14.81 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 (8): * Single equations (assignments): 8 * 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.001697/0.1581, allocations: 451.8 kB / 0.5639 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.1583, allocations: 75.88 kB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1583, allocations: 0 / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1584, allocations: 39.92 kB / 0.564 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1588, allocations: 22.55 kB / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.1595, allocations: 340.8 kB / 0.5643 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1599, allocations: 0.7197 MB / 0.565 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.1599, allocations: 15.44 kB / 0.565 GB, free: 13.28 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1599, allocations: 0 / 0.565 GB, free: 13.28 MB / 430.1 MB Notification: Performance of Templates: time 0.004252/0.1642, allocations: 1.903 MB / 0.5669 GB, free: 11.37 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.02889110497199]