Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0009222/0.0009222, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001076/0.001076, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9371/0.9371, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1516/0.1516, allocations: 34.25 MB / 296.1 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 325.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.039e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002529/0.002559, allocations: 1.68 MB / 327 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008632/0.003422, allocations: 0.5452 MB / 327.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.003484, allocations: 4 kB / 327.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.00371, allocations: 35.77 kB / 327.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.003979, allocations: 67.64 kB / 327.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.004308, allocations: 115.6 kB / 327.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.004448, allocations: 67.78 kB / 327.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.004536, allocations: 11.98 kB / 327.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.004618, allocations: 35.84 kB / 327.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.004675, allocations: 15.92 kB / 327.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.004689, allocations: 0 / 327.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.004763, allocations: 39.92 kB / 327.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.004807, allocations: 15.94 kB / 327.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.004835, allocations: 11.97 kB / 327.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004984, allocations: 75.69 kB / 328 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004987, allocations: 0 / 328 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004988, allocations: 0 / 328 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.004992, allocations: 0 / 328 MB, free: 13.98 MB / 314.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.0003474/0.00534, allocations: 296.4 kB / 328.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.005377, allocations: 11.97 kB / 328.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.00541, allocations: 4.938 kB / 328.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005559, allocations: 144.2 kB / 328.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.005569, allocations: 4.375 kB / 328.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.005588, allocations: 384 / 328.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.0057, allocations: 62.69 kB / 328.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.00571, allocations: 0 / 328.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.005718, allocations: 0 / 328.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.005724, allocations: 0 / 328.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.005746, allocations: 4 kB / 328.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.005992, allocations: 175.1 kB / 328.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.006121, allocations: 33.39 kB / 328.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.006138, allocations: 12.86 kB / 328.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.006155, allocations: 3.938 kB / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.006339, allocations: 30.56 kB / 328.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.00634, allocations: 0 / 328.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002662/0.006607, allocations: 85.84 kB / 328.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.006633, allocations: 51.41 kB / 328.9 MB, free: 12.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.359e-05/0.006726, allocations: 163.3 kB / 329.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.006736, allocations: 25.7 kB / 329.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.006764, allocations: 92.12 kB / 329.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.006783, allocations: 27.77 kB / 329.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.006809, allocations: 17.72 kB / 329.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.006885, allocations: 322.8 kB / 329.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.006898, allocations: 8 kB / 329.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.006908, allocations: 0 / 329.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.006941, allocations: 23.86 kB / 329.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006942, allocations: 0 / 329.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.996e-05/0.007002, allocations: 53.62 kB / 329.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.007013, allocations: 4 kB / 329.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.007018, allocations: 48 / 329.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.007028, allocations: 3.984 kB / 329.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.007074, allocations: 15.92 kB / 329.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.007077, allocations: 4 kB / 329.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.007094, allocations: 4 kB / 329.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.0071, allocations: 4 kB / 329.7 MB, free: 12.17 MB / 314.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 6.281e-05/0.007163, allocations: 116.7 kB / 329.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.007185, allocations: 11.92 kB / 329.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.007286, allocations: 58.14 kB / 329.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007288, allocations: 0 / 329.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007291, allocations: 4 kB / 329.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007294, allocations: 0 / 329.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.007496, allocations: 218.6 kB / 330.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007497, allocations: 0 / 330.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.007531, allocations: 8 kB / 330.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007533, allocations: 0 / 330.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.007538, allocations: 7.984 kB / 330.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.00754, allocations: 0 / 330.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.007541, allocations: 0 / 330.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.201e-05/0.007623, allocations: 151.6 kB / 330.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.007632, allocations: 7.953 kB / 330.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.007643, allocations: 4.062 kB / 330.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.007676, allocations: 7.984 kB / 330.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.007703, allocations: 7.938 kB / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.007706, allocations: 0 / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.035e-05/0.007747, allocations: 46.69 kB / 330.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007747, allocations: 0 / 330.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001374/0.007884, allocations: 16 kB / 330.3 MB, free: 11.46 MB / 314.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.001153/0.009037, allocations: 0.4886 MB / 330.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.555e-05/0.009123, allocations: 28.78 kB / 330.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.009127, allocations: 0 / 330.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.009149, allocations: 20.84 kB / 330.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.009321, allocations: 26.56 kB / 330.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.009606, allocations: 170.3 kB / 331.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.009643, allocations: 71.33 kB / 331.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.009672, allocations: 8 kB / 331.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.009722, allocations: 59.36 kB / 331.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009723, allocations: 0 / 331.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of Templates: time 0.002881/0.0126, allocations: 1.269 MB / 332.5 MB, free: 9.512 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.9030179623514414]