Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001838/0.001838, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002095/0.002095, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2197/0.2197, allocations: 44.94 MB / 358.8 MB, free: 6.023 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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [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.00208/0.00208, allocations: 69.94 kB / 0.4935 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 65.46 MB / 0.5575 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003525/0.3521, allocations: 1.617 MB / 0.559 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3533, allocations: 0.5311 MB / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.3534, allocations: 3.938 kB / 0.5596 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.3537, allocations: 83.7 kB / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.354, allocations: 95.66 kB / 0.5597 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.3544, allocations: 115.6 kB / 0.5599 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3546, allocations: 83.77 kB / 0.5599 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3547, allocations: 15.64 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.3548, allocations: 39.84 kB / 0.56 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3549, allocations: 63.8 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3549, allocations: 3.938 kB / 0.56 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.355, allocations: 47.98 kB / 0.5601 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.3551, allocations: 23.92 kB / 0.5601 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.3552, allocations: 23.8 kB / 0.5601 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3554, allocations: 106.2 kB / 0.5602 GB, free: 4.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3554, allocations: 0 / 0.5602 GB, free: 4.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3554, allocations: 0 / 0.5602 GB, free: 4.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3554, allocations: 0 / 0.5602 GB, free: 4.582 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.0006022/0.356, allocations: 341.6 kB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3561, allocations: 11.97 kB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.3561, allocations: 20.83 kB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3563, allocations: 139 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3563, allocations: 4.375 kB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3564, allocations: 4.375 kB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3565, allocations: 65.77 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3565, allocations: 0 / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3566, allocations: 0 / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3566, allocations: 4 kB / 0.5608 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3567, allocations: 27.97 kB / 0.5608 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.3571, allocations: 248.4 kB / 0.5611 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3572, allocations: 46.56 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.3573, allocations: 16.94 kB / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3573, allocations: 0 / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3573, allocations: 38.5 kB / 0.5612 GB, free: 3.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3573, allocations: 0 / 0.5612 GB, free: 3.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009637/0.3583, allocations: 241.5 kB / 0.5614 GB, free: 3.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3583, allocations: 51.41 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.3586, allocations: 214.3 kB / 0.5616 GB, free: 2.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3586, allocations: 29.7 kB / 0.5617 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.3587, allocations: 108 kB / 0.5618 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.3588, allocations: 31.81 kB / 0.5618 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.3588, allocations: 25.7 kB / 0.5618 GB, free: 2.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.359, allocations: 334.8 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.3591, allocations: 23.98 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.3592, allocations: 35.91 kB / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3594, allocations: 68.83 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3594, allocations: 4 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002341/0.3596, allocations: 113.5 kB / 0.5624 GB, free: 2.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3596, allocations: 14.64 kB / 0.5624 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3596, allocations: 4 kB / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3596, allocations: 96 / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3597, allocations: 19.97 kB / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3597, allocations: 0 / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.3598, allocations: 4 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3598, allocations: 7.938 kB / 0.5624 GB, free: 2.156 MB / 398.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.0001241/0.3599, allocations: 129.8 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.36, allocations: 11.91 kB / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.3603, allocations: 143.2 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3603, allocations: 0 / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3603, allocations: 0 / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3603, allocations: 0 / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.3609, allocations: 362.9 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3609, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.3609, allocations: 15.98 kB / 0.5631 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.361, allocations: 4 kB / 0.5631 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.361, allocations: 4.031 kB / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.361, allocations: 3.938 kB / 0.5631 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.361, allocations: 3.938 kB / 0.5631 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3613, allocations: 212.3 kB / 0.5633 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.3613, allocations: 11.91 kB / 0.5633 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3613, allocations: 7.922 kB / 0.5633 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.3614, allocations: 11.94 kB / 0.5633 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3614, allocations: 7.984 kB / 0.5633 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3614, allocations: 4 kB / 0.5633 GB, free: 1.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3616, allocations: 172.2 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3616, allocations: 0 / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3619, allocations: 16 kB / 0.5635 GB, free: 0.9727 MB / 398.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.001929/0.3638, allocations: 0.4965 MB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3641, allocations: 71.94 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3641, allocations: 0 / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.668e-05/0.3642, allocations: 35.92 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.3646, allocations: 24.61 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.3652, allocations: 262.7 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3653, allocations: 108.7 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.3653, allocations: 24.89 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.3654, allocations: 11.44 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3654, allocations: 0 / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of Templates: time 0.004883/0.3703, allocations: 1.457 MB / 0.5659 GB, free: 14.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.247860472649336]