Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001659/0.001659, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001751/0.001751, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.632/1.632, allocations: 230.6 MB / 257.5 MB, free: 8 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.2406/0.2406, allocations: 46.94 MB / 360.8 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 71.89 kB / 0.4967 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.448, allocations: 66.03 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003504/0.4516, allocations: 1.632 MB / 0.5627 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.4527, allocations: 0.5533 MB / 0.5633 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.4528, allocations: 0 / 0.5633 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.4534, allocations: 451.2 kB / 0.5637 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.4539, allocations: 295.3 kB / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.4543, allocations: 131.4 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.4545, allocations: 163.6 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4546, allocations: 12.17 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4548, allocations: 103.8 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.4551, allocations: 247.5 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.4551, allocations: 0 / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.4552, allocations: 27.92 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.4553, allocations: 83.69 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.4554, allocations: 99 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.4558, allocations: 261 kB / 0.5651 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4558, allocations: 0 / 0.5651 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4558, allocations: 0 / 0.5651 GB, free: 372 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.4558, allocations: 0 / 0.5651 GB, free: 372 kB / 398.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.0008253/0.4566, allocations: 0.5621 MB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4567, allocations: 8.031 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.4567, allocations: 44.66 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.4571, allocations: 246.7 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4571, allocations: 8.375 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.4571, allocations: 4.375 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4573, allocations: 46.61 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4573, allocations: 4 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4573, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4573, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.4574, allocations: 23.97 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.4579, allocations: 347.8 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.458, allocations: 42.5 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.4581, allocations: 12.92 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4581, allocations: 0 / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4581, allocations: 30.56 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4581, allocations: 0 / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003014/0.4584, allocations: 105.3 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.4585, allocations: 55.41 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.4594, allocations: 0.8653 MB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4594, allocations: 25.7 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.4597, allocations: 224 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.4597, allocations: 7.891 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.4597, allocations: 21.7 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003439/0.4601, allocations: 358.7 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.4601, allocations: 16.11 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.4601, allocations: 4 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.4602, allocations: 24.84 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4602, allocations: 0 / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001567/0.4604, allocations: 93.34 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4604, allocations: 8 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4604, allocations: 4.094 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4604, allocations: 0 / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.4605, allocations: 7.984 kB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4605, allocations: 0 / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.4605, allocations: 4 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.4605, allocations: 0 / 0.5682 GB, free: 13 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 (2): * Single equations (assignments): 2 * 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.0003344/0.4609, allocations: 213.7 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.461, allocations: 39.72 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.4613, allocations: 112.7 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4613, allocations: 0 / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4613, allocations: 0 / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4613, allocations: 0 / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.4616, allocations: 260.6 kB / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4616, allocations: 0 / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.4616, allocations: 7.984 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4616, allocations: 0 / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.4616, allocations: 4 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4616, allocations: 3.938 kB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4617, allocations: 8.031 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.4619, allocations: 187.2 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.4619, allocations: 27.77 kB / 0.569 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.462, allocations: 3.984 kB / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.462, allocations: 4 kB / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.462, allocations: 0 / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.4621, allocations: 3.938 kB / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008853/0.4629, allocations: 0.6629 MB / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4629, allocations: 0 / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000255/0.4632, allocations: 23.89 kB / 0.5697 GB, free: 11.38 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 (2): * Single equations (assignments): 2 * 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.001318/0.4645, allocations: 350.1 kB / 0.57 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.4647, allocations: 19.98 kB / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.4647, allocations: 0 / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.4647, allocations: 12 kB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.4652, allocations: 29.86 kB / 0.5701 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4663, allocations: 0.7828 MB / 0.5708 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.4669, allocations: 0.8221 MB / 0.5716 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.74e-05/0.4669, allocations: 7.75 kB / 0.5716 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.4669, allocations: 15.42 kB / 0.5716 GB, free: 9.426 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4669, allocations: 0 / 0.5716 GB, free: 9.426 MB / 414.1 MB Notification: Performance of Templates: time 0.005594/0.4725, allocations: 1.273 MB / 0.5729 GB, free: 8.156 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.716152336914092]