Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0009241/0.0009241, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001037/0.001037, allocations: 170 kB / 24.91 MB, free: 9.188 MB / 18.57 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 0.9907/0.9907, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.3136/0.3136, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.647e-05, allocations: 3.016 kB / 323.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002596/0.002623, allocations: 1.641 MB / 324.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.003563, allocations: 0.5374 MB / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.003623, allocations: 0 / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.003858, allocations: 19.84 kB / 325.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.004138, allocations: 79.56 kB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.004375, allocations: 115.6 kB / 325.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.004509, allocations: 71.7 kB / 325.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.004597, allocations: 12 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.00466, allocations: 31.91 kB / 325.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.004717, allocations: 19.92 kB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.004732, allocations: 4 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.004805, allocations: 27.98 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.004845, allocations: 15.92 kB / 325.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.004867, allocations: 7.984 kB / 325.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.005002, allocations: 75.62 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005005, allocations: 0 / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005006, allocations: 0 / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005011, allocations: 0 / 325.9 MB, free: 7.012 MB / 298.7 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.0003873/0.005398, allocations: 285.7 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.005431, allocations: 12.03 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.00546, allocations: 8.938 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.005591, allocations: 137.7 kB / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.005599, allocations: 384 / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.00562, allocations: 4.375 kB / 326.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.005714, allocations: 58.88 kB / 326.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.005724, allocations: 192 / 326.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.005731, allocations: 4.125 kB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.005738, allocations: 4 kB / 326.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.005757, allocations: 4 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.005982, allocations: 171.8 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.006166, allocations: 29.34 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.006187, allocations: 12.94 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.006206, allocations: 0 / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.00623, allocations: 34.56 kB / 326.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.006231, allocations: 0 / 326.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002973/0.006528, allocations: 85.42 kB / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.006563, allocations: 51.41 kB / 326.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.00666, allocations: 151 kB / 326.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.006672, allocations: 33.7 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.006705, allocations: 92.06 kB / 327 MB, free: 5.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.006728, allocations: 23.78 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.006756, allocations: 13.72 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.006848, allocations: 322.8 kB / 327.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.00686, allocations: 4 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/0.00687, allocations: 0 / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.006899, allocations: 23.67 kB / 327.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.0069, allocations: 0 / 327.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.627e-05/0.006966, allocations: 57.56 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.00698, allocations: 4 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006984, allocations: 4.25 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.006999, allocations: 3.984 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.007047, allocations: 12 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007049, allocations: 0 / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.007068, allocations: 4 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.007073, allocations: 0 / 327.5 MB, free: 5.234 MB / 298.7 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 5.962e-05/0.007133, allocations: 120.7 kB / 327.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.007149, allocations: 7.938 kB / 327.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.281e-05/0.007242, allocations: 62.06 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.007246, allocations: 4.281 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007248, allocations: 0 / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007251, allocations: 0 / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.007426, allocations: 214.8 kB / 327.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.007428, allocations: 7.938 kB / 327.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.007456, allocations: 11.94 kB / 327.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007458, allocations: 0 / 327.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.007463, allocations: 3.984 kB / 327.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007464, allocations: 0 / 327.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.007465, allocations: 0 / 327.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.695e-05/0.007532, allocations: 135.5 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.007542, allocations: 19.89 kB / 328.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.007552, allocations: 4 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.1e-05/0.007583, allocations: 7.984 kB / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.007603, allocations: 0 / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.007605, allocations: 0 / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.718e-05/0.007632, allocations: 31.66 kB / 328.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007632, allocations: 3.938 kB / 328.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001264/0.007759, allocations: 19.98 kB / 328.1 MB, free: 4.531 MB / 298.7 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.001085/0.008843, allocations: 0.5069 MB / 328.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.008924, allocations: 20.86 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.008929, allocations: 4 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.008947, allocations: 16.84 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.009117, allocations: 27.8 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.009439, allocations: 171.2 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.009475, allocations: 59.34 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.009504, allocations: 15.98 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.009552, allocations: 59.36 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.009553, allocations: 0 / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of Templates: time 0.003311/0.01286, allocations: 1.25 MB / 330.3 MB, free: 2.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9389709853567183]