Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2593/0.2593, allocations: 46.93 MB / 357.1 MB, free: 10.4 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.91 kB / 0.4914 GB, free: 7.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1444, allocations: 66.01 MB / 0.5559 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003395/0.1478, allocations: 1.618 MB / 0.5575 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1489, allocations: 0.5533 MB / 0.558 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.149, allocations: 4 kB / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1493, allocations: 75.77 kB / 0.5581 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.1496, allocations: 103.6 kB / 0.5582 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1499, allocations: 115.7 kB / 0.5583 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1501, allocations: 87.73 kB / 0.5584 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1503, allocations: 12 kB / 0.5584 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.1503, allocations: 43.83 kB / 0.5584 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1505, allocations: 55.81 kB / 0.5585 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1505, allocations: 4 kB / 0.5585 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1506, allocations: 47.97 kB / 0.5585 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.1506, allocations: 15.94 kB / 0.5585 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.1507, allocations: 39.67 kB / 0.5586 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1509, allocations: 99.58 kB / 0.5587 GB, free: 2.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1509, allocations: 0 / 0.5587 GB, free: 2.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1509, allocations: 8 kB / 0.5587 GB, free: 2.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1509, allocations: 0 / 0.5587 GB, free: 2.5 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.000574/0.1515, allocations: 418.7 kB / 0.5591 GB, free: 2.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1515, allocations: 8.031 kB / 0.5591 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.1516, allocations: 12.84 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1518, allocations: 211.1 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1518, allocations: 12.31 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1518, allocations: 384 / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.152, allocations: 65.8 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.152, allocations: 0 / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.152, allocations: 0 / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1521, allocations: 0 / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1522, allocations: 27.97 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.1526, allocations: 296.8 kB / 0.5597 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1527, allocations: 54.48 kB / 0.5597 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.1528, allocations: 16.86 kB / 0.5598 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1528, allocations: 0 / 0.5598 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1529, allocations: 30.56 kB / 0.5598 GB, free: 1.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.1529, allocations: 7.984 kB / 0.5598 GB, free: 1.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009995/0.1539, allocations: 249.4 kB / 0.56 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1539, allocations: 51.41 kB / 0.5601 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1541, allocations: 218.2 kB / 0.5603 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1542, allocations: 25.7 kB / 0.5603 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.1543, allocations: 112.1 kB / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.1543, allocations: 35.62 kB / 0.5605 GB, free: 496 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.1543, allocations: 25.7 kB / 0.5605 GB, free: 464 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1545, allocations: 322.8 kB / 0.5608 GB, free: 132 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.1546, allocations: 27.98 kB / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.799e-05/0.1547, allocations: 31.97 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.1549, allocations: 76.89 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1549, allocations: 0 / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002469/0.1551, allocations: 113.5 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1552, allocations: 4 kB / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1552, allocations: 0 / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1552, allocations: 0 / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1553, allocations: 23.92 kB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1553, allocations: 0 / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1553, allocations: 11.94 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1554, allocations: 0 / 0.5611 GB, free: 15.84 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 (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.0001255/0.1555, allocations: 132 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1555, allocations: 11.91 kB / 0.5612 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.1558, allocations: 135 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1558, allocations: 0 / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1559, allocations: 0 / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1559, allocations: 7.938 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.1565, allocations: 423.6 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1565, allocations: 0 / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.1565, allocations: 15.98 kB / 0.5618 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.1565, allocations: 7.938 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1566, allocations: 4 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1566, allocations: 0 / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1566, allocations: 0 / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.1569, allocations: 224.3 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.1569, allocations: 92.95 kB / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1569, allocations: 4 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.157, allocations: 0 / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.157, allocations: 7.984 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.1571, allocations: 4 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.1572, allocations: 168.2 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1572, allocations: 7.938 kB / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1575, allocations: 23.92 kB / 0.5623 GB, free: 14.48 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.001727/0.1592, allocations: 456 kB / 0.5627 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.1595, allocations: 79.89 kB / 0.5628 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1595, allocations: 0 / 0.5628 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.1596, allocations: 43.89 kB / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.1599, allocations: 12 kB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.1605, allocations: 274.6 kB / 0.5631 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1609, allocations: 0.708 MB / 0.5638 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.161, allocations: 20.95 kB / 0.5638 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.161, allocations: 19.42 kB / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.161, allocations: 0 / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of Templates: time 0.004798/0.1658, allocations: 1.409 MB / 0.5652 GB, free: 11.61 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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: 5.347199626266956]