Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001644/0.001644, 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.002024/0.002024, 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.523/1.523, allocations: 230.2 MB / 255.2 MB, free: 15.38 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.3131/0.3131, allocations: 46.88 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.CombiTable1Dv.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [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.00247/0.00247, allocations: 75.88 kB / 0.4924 GB, free: 8.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1443, allocations: 65.99 MB / 0.5568 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003981/0.1482, allocations: 1.605 MB / 0.5584 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1495, allocations: 0.545 MB / 0.5589 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.1496, allocations: 0 / 0.5589 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.1498, allocations: 27.8 kB / 0.5589 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.1502, allocations: 75.67 kB / 0.559 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.1506, allocations: 111.7 kB / 0.5591 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1508, allocations: 67.78 kB / 0.5592 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1509, allocations: 11.98 kB / 0.5592 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.1509, allocations: 15.94 kB / 0.5592 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.151, allocations: 27.84 kB / 0.5592 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.1511, allocations: 4 kB / 0.5592 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1512, allocations: 31.98 kB / 0.5593 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.1512, allocations: 15.92 kB / 0.5593 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.1513, allocations: 27.8 kB / 0.5593 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1515, allocations: 79.61 kB / 0.5594 GB, free: 3.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1515, allocations: 4 kB / 0.5594 GB, free: 3.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1515, allocations: 0 / 0.5594 GB, free: 3.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1515, allocations: 0 / 0.5594 GB, free: 3.348 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.000637/0.1522, allocations: 387 kB / 0.5598 GB, free: 2.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1522, allocations: 8.031 kB / 0.5598 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1523, allocations: 8.891 kB / 0.5598 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1525, allocations: 188.3 kB / 0.56 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1525, allocations: 384 / 0.56 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1526, allocations: 4.375 kB / 0.56 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1527, allocations: 62.17 kB / 0.56 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1527, allocations: 4.125 kB / 0.56 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1528, allocations: 3.938 kB / 0.56 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1528, allocations: 0 / 0.56 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1529, allocations: 19.98 kB / 0.5601 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.1533, allocations: 284.8 kB / 0.5603 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1536, allocations: 58.42 kB / 0.5604 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.1536, allocations: 16.94 kB / 0.5604 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1537, allocations: 4 kB / 0.5604 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1537, allocations: 34.5 kB / 0.5604 GB, free: 2.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1537, allocations: 0 / 0.5604 GB, free: 2.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006316/0.1543, allocations: 153.4 kB / 0.5606 GB, free: 1.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1544, allocations: 51.41 kB / 0.5606 GB, free: 1.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1545, allocations: 152.7 kB / 0.5608 GB, free: 1.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1546, allocations: 25.7 kB / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.1546, allocations: 96.12 kB / 0.5609 GB, free: 1.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1547, allocations: 19.8 kB / 0.5609 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.1547, allocations: 17.7 kB / 0.5609 GB, free: 1.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1549, allocations: 326.8 kB / 0.5612 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.1549, allocations: 23.97 kB / 0.5613 GB, free: 1.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.155, allocations: 19.98 kB / 0.5613 GB, free: 1.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1552, allocations: 52.83 kB / 0.5613 GB, free: 1.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1552, allocations: 3.938 kB / 0.5613 GB, free: 1.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002028/0.1554, allocations: 85.86 kB / 0.5614 GB, free: 1.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1554, allocations: 10.34 kB / 0.5614 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1554, allocations: 8 kB / 0.5614 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1554, allocations: 0 / 0.5614 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.1555, allocations: 11.98 kB / 0.5614 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1555, allocations: 0 / 0.5614 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.1555, allocations: 4 kB / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1555, allocations: 0 / 0.5614 GB, free: 1.02 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.0001097/0.1556, allocations: 121.8 kB / 0.5616 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1557, allocations: 11.94 kB / 0.5616 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.1559, allocations: 101.9 kB / 0.5617 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1559, allocations: 4 kB / 0.5617 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1559, allocations: 0 / 0.5617 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.156, allocations: 3.938 kB / 0.5617 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.1565, allocations: 354.4 kB / 0.562 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1565, allocations: 0 / 0.562 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.1565, allocations: 19.98 kB / 0.562 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1565, allocations: 0 / 0.562 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1565, allocations: 4 kB / 0.562 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1565, allocations: 0 / 0.562 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1565, allocations: 0 / 0.562 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1568, allocations: 183.4 kB / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.1569, allocations: 81.06 kB / 0.5623 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1569, allocations: 11.98 kB / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.1569, allocations: 192 / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.157, allocations: 11.94 kB / 0.5623 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.157, allocations: 4 kB / 0.5623 GB, free: 16 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1571, allocations: 117.5 kB / 0.5624 GB, free: 15.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1571, allocations: 7.875 kB / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1574, allocations: 19.98 kB / 0.5625 GB, free: 15.88 MB / 430.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.0015/0.1589, allocations: 405.7 kB / 0.5628 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1591, allocations: 55.89 kB / 0.5629 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1591, allocations: 0 / 0.5629 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.1592, allocations: 27.92 kB / 0.5629 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1596, allocations: 18.42 kB / 0.5629 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.1601, allocations: 219.8 kB / 0.5632 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1605, allocations: 0.6963 MB / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.1605, allocations: 11.44 kB / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1605, allocations: 0 / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of Templates: time 0.003778/0.1643, allocations: 1.447 MB / 0.5653 GB, free: 13.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.299294260097668]