Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001882/0.001882, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002259/0.002259, allocations: 213.3 kB / 23.73 MB, free: 4.523 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2683/0.2683, allocations: 46.97 MB / 360.9 MB, free: 4.02 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.91 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003675/0.3561, allocations: 1.641 MB / 0.5627 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3574, allocations: 0.5544 MB / 0.5632 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.3575, allocations: 4 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.3581, allocations: 455.1 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.3587, allocations: 299.3 kB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3592, allocations: 171.1 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.3595, allocations: 179.6 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3596, allocations: 15.98 kB / 0.5643 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.3598, allocations: 111.7 kB / 0.5644 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.3601, allocations: 251.5 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3601, allocations: 4 kB / 0.5647 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3602, allocations: 32 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3604, allocations: 91.61 kB / 0.5648 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.3604, allocations: 67.25 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.3609, allocations: 273 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.361, allocations: 4 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.361, allocations: 0 / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.361, allocations: 0 / 0.5651 GB, free: 24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007929/0.3618, allocations: 0.5815 MB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3618, allocations: 15.97 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.3619, allocations: 44.61 kB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.3622, allocations: 242.8 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3622, allocations: 384 / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.3622, allocations: 4.375 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3624, allocations: 65.8 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3624, allocations: 0 / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3625, allocations: 0 / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.3625, allocations: 0 / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.3626, allocations: 31.92 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.3632, allocations: 344.3 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3634, allocations: 38.56 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.3635, allocations: 20.94 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3635, allocations: 7.938 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3635, allocations: 34.56 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3635, allocations: 0 / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007758/0.3643, allocations: 244.8 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3644, allocations: 51.41 kB / 0.5668 GB, free: 14.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.3653, allocations: 0.8574 MB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3653, allocations: 33.7 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3655, allocations: 212 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3655, allocations: 23.92 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3656, allocations: 17.7 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3657, allocations: 366.7 kB / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.3658, allocations: 19.98 kB / 0.5683 GB, free: 12.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.3659, allocations: 23.97 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3661, allocations: 52.83 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3661, allocations: 0 / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002278/0.3663, allocations: 125.3 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3663, allocations: 7.984 kB / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3663, allocations: 0 / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3663, allocations: 7.938 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.3664, allocations: 8 kB / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3664, allocations: 0 / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.3665, allocations: 7.984 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3665, allocations: 3.938 kB / 0.5685 GB, free: 12.39 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.0002106/0.3667, allocations: 221.7 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.3667, allocations: 43.72 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.367, allocations: 145.1 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.367, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3671, allocations: 320 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3671, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.3676, allocations: 414 kB / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3676, allocations: 0 / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.3677, allocations: 23.98 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3677, allocations: 0 / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.3677, allocations: 3.938 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3677, allocations: 0 / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3677, allocations: 7.938 kB / 0.5693 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.368, allocations: 211.2 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3681, allocations: 35.72 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3681, allocations: 0 / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.3682, allocations: 11.98 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.3682, allocations: 7.938 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.3682, allocations: 4 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007303/0.3689, allocations: 0.6511 MB / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3689, allocations: 0 / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3692, allocations: 27.94 kB / 0.5702 GB, free: 10.53 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.001571/0.3708, allocations: 432.9 kB / 0.5706 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.371, allocations: 55.91 kB / 0.5707 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.371, allocations: 4 kB / 0.5707 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.3711, allocations: 27.97 kB / 0.5707 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.3716, allocations: 29.89 kB / 0.5707 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.3728, allocations: 0.8065 MB / 0.5715 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3731, allocations: 224.1 kB / 0.5717 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.46e-05/0.3732, allocations: 19.75 kB / 0.5718 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.3732, allocations: 15.44 kB / 0.5718 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3732, allocations: 0 / 0.5718 GB, free: 9.066 MB / 414.1 MB Notification: Performance of Templates: time 0.005871/0.3791, allocations: 1.702 MB / 0.5734 GB, free: 7.379 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.251325509976596]