Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.0017/0.0017, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002142/0.002142, allocations: 206 kB / 24.49 MB, free: 4.148 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.91 MB / 359.6 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.88 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.345, allocations: 65.46 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003372/0.3484, allocations: 1.672 MB / 0.5599 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3495, allocations: 0.5659 MB / 0.5604 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.3496, allocations: 0 / 0.5604 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.3502, allocations: 463.1 kB / 0.5609 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.3507, allocations: 287.3 kB / 0.5612 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3511, allocations: 139 kB / 0.5613 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.3513, allocations: 163.6 kB / 0.5614 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3514, allocations: 23.77 kB / 0.5615 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3516, allocations: 111.7 kB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.3519, allocations: 251.5 kB / 0.5618 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3519, allocations: 11.94 kB / 0.5618 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.352, allocations: 28 kB / 0.5619 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3521, allocations: 83.69 kB / 0.5619 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.985e-05/0.3522, allocations: 107 kB / 0.562 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.3526, allocations: 257.2 kB / 0.5623 GB, free: 3.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3526, allocations: 4 kB / 0.5623 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3526, allocations: 0 / 0.5623 GB, free: 3.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3526, allocations: 0 / 0.5623 GB, free: 3.586 MB / 398.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.000834/0.3534, allocations: 0.5776 MB / 0.5629 GB, free: 2.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3535, allocations: 12.03 kB / 0.5629 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.3535, allocations: 44.66 kB / 0.5629 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.3538, allocations: 238.8 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.3538, allocations: 4.375 kB / 0.5631 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.3538, allocations: 384 / 0.5631 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.354, allocations: 61.73 kB / 0.5632 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.354, allocations: 4 kB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.354, allocations: 0 / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.354, allocations: 0 / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.3541, allocations: 23.98 kB / 0.5632 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.3546, allocations: 363.7 kB / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.3548, allocations: 50.48 kB / 0.5636 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.3549, allocations: 12.86 kB / 0.5636 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3549, allocations: 0 / 0.5636 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3549, allocations: 34.56 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3549, allocations: 0 / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006455/0.3556, allocations: 236.8 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3556, allocations: 51.41 kB / 0.5639 GB, free: 1.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009164/0.3565, allocations: 0.8653 MB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3566, allocations: 25.7 kB / 0.5648 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3568, allocations: 232 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3568, allocations: 7.906 kB / 0.565 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3568, allocations: 21.7 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.357, allocations: 362.7 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.3571, allocations: 15.98 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.3571, allocations: 20.17 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3573, allocations: 60.77 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3573, allocations: 0 / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002342/0.3575, allocations: 117.4 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3575, allocations: 4 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3575, allocations: 0 / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3575, allocations: 3.938 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.3576, allocations: 12.28 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3576, allocations: 3.938 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.3577, allocations: 15.92 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3577, allocations: 4 kB / 0.5657 GB, free: 15.95 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.000215/0.3579, allocations: 209.7 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.358, allocations: 47.66 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.3582, allocations: 137.2 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3582, allocations: 0 / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3582, allocations: 0 / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3583, allocations: 11.94 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.3588, allocations: 425.6 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3588, allocations: 0 / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.3589, allocations: 11.98 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3589, allocations: 0 / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.3589, allocations: 3.938 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3589, allocations: 4.188 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3589, allocations: 4 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.3592, allocations: 219.2 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3592, allocations: 43.61 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3592, allocations: 3.938 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.3593, allocations: 7.984 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3594, allocations: 4 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3594, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006505/0.36, allocations: 0.6589 MB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.36, allocations: 4 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3603, allocations: 19.94 kB / 0.5674 GB, free: 14.07 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 (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.001499/0.3618, allocations: 409.8 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.362, allocations: 43.97 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.362, allocations: 0 / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.3621, allocations: 31.92 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.3625, allocations: 27.8 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3636, allocations: 0.8314 MB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.3641, allocations: 0.8221 MB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.3642, allocations: 11.44 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3642, allocations: 0 / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.007315/0.3715, allocations: 3.721 MB / 0.5731 GB, free: 8.277 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.985888677882031]