Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001866/0.001866, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002453/0.002453, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2331/0.2331, allocations: 44.93 MB / 359.6 MB, free: 6.082 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.Test3,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [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.002433/0.002433, allocations: 70.39 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4348, allocations: 65.48 MB / 0.5582 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003601/0.4384, allocations: 1.605 MB / 0.5598 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.4397, allocations: 0.5349 MB / 0.5603 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.4397, allocations: 0 / 0.5603 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.44, allocations: 75.7 kB / 0.5604 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.4404, allocations: 103.6 kB / 0.5605 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.4407, allocations: 111.4 kB / 0.5606 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.4409, allocations: 87.73 kB / 0.5607 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.441, allocations: 18.61 kB / 0.5607 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.4411, allocations: 31.91 kB / 0.5607 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.4412, allocations: 59.75 kB / 0.5608 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.4412, allocations: 0 / 0.5608 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.4413, allocations: 43.98 kB / 0.5608 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.4414, allocations: 23.86 kB / 0.5608 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.4414, allocations: 23.86 kB / 0.5609 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.4417, allocations: 107.2 kB / 0.561 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4417, allocations: 0 / 0.561 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4417, allocations: 0 / 0.561 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4417, allocations: 0 / 0.561 GB, free: 4.711 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.0005508/0.4422, allocations: 348 kB / 0.5613 GB, free: 4.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4423, allocations: 8.031 kB / 0.5613 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.4423, allocations: 12.84 kB / 0.5613 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.4426, allocations: 138.4 kB / 0.5614 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.4426, allocations: 4.375 kB / 0.5615 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.4426, allocations: 384 / 0.5615 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.4428, allocations: 61.8 kB / 0.5615 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4428, allocations: 0 / 0.5615 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4428, allocations: 4 kB / 0.5615 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4428, allocations: 0 / 0.5615 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.4429, allocations: 35.91 kB / 0.5615 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.4434, allocations: 244.4 kB / 0.5618 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4436, allocations: 46.56 kB / 0.5618 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.4437, allocations: 16.94 kB / 0.5618 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.4437, allocations: 4 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4437, allocations: 38.44 kB / 0.5619 GB, free: 3.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4437, allocations: 0 / 0.5619 GB, free: 3.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001072/0.4448, allocations: 241.6 kB / 0.5621 GB, free: 3.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4448, allocations: 55.41 kB / 0.5622 GB, free: 3.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.4451, allocations: 195.3 kB / 0.5624 GB, free: 3.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4451, allocations: 29.69 kB / 0.5624 GB, free: 3.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4452, allocations: 108.1 kB / 0.5625 GB, free: 3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.4453, allocations: 27.73 kB / 0.5625 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.4453, allocations: 25.72 kB / 0.5625 GB, free: 2.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4455, allocations: 326.8 kB / 0.5628 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4456, allocations: 31.97 kB / 0.5629 GB, free: 2.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.4457, allocations: 23.98 kB / 0.5629 GB, free: 2.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.4459, allocations: 76.81 kB / 0.563 GB, free: 2.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4459, allocations: 3.938 kB / 0.563 GB, free: 2.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002492/0.4461, allocations: 113.6 kB / 0.5631 GB, free: 2.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4461, allocations: 8 kB / 0.5631 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4461, allocations: 3.938 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4462, allocations: 96 / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4463, allocations: 23.97 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4463, allocations: 0 / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.4463, allocations: 7.984 kB / 0.5631 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4463, allocations: 3.938 kB / 0.5631 GB, free: 2.312 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.0001249/0.4465, allocations: 129.8 kB / 0.5633 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.4465, allocations: 15.89 kB / 0.5633 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.4469, allocations: 131.3 kB / 0.5634 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4469, allocations: 0 / 0.5634 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4469, allocations: 0 / 0.5634 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4469, allocations: 0 / 0.5634 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007018/0.4476, allocations: 358.9 kB / 0.5637 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4476, allocations: 4 kB / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.4476, allocations: 15.98 kB / 0.5638 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4476, allocations: 7.969 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4477, allocations: 4 kB / 0.5638 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.4477, allocations: 11.88 kB / 0.5638 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4477, allocations: 0 / 0.5638 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.448, allocations: 216.3 kB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.448, allocations: 3.953 kB / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.4481, allocations: 4 kB / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.743e-05/0.4481, allocations: 11.94 kB / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.4482, allocations: 3.984 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.4482, allocations: 8 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.4483, allocations: 153.8 kB / 0.5642 GB, free: 1.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4483, allocations: 4 kB / 0.5642 GB, free: 1.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.4486, allocations: 23.92 kB / 0.5642 GB, free: 1.145 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.001943/0.4506, allocations: 491.6 kB / 0.5647 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.4508, allocations: 71.95 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4508, allocations: 3.938 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.4509, allocations: 31.92 kB / 0.5648 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4513, allocations: 25.55 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.452, allocations: 292.9 kB / 0.5651 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.4521, allocations: 96.17 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.4522, allocations: 15.44 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4522, allocations: 0 / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of Templates: time 0.004429/0.4566, allocations: 1.825 MB / 0.567 GB, free: 14.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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: 8.061380513943732]