Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.0009639/0.0009639, 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.001149/0.001149, allocations: 171.7 kB / 24.92 MB, free: 8.727 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2932/0.2932, allocations: 34.26 MB / 296.1 MB, free: 0.7422 MB / 266.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.724e-05, allocations: 3.781 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002626/0.002653, allocations: 1.704 MB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.003462, allocations: 0.5374 MB / 327.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.003518, allocations: 0 / 327.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.003765, allocations: 75.7 kB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.00404, allocations: 103.5 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.004289, allocations: 91.62 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004451, allocations: 91.69 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.004538, allocations: 11.98 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.004609, allocations: 47.89 kB / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.004703, allocations: 47.88 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.004717, allocations: 4 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.897e-05/0.004816, allocations: 43.92 kB / 328.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.004859, allocations: 23.91 kB / 328.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.004883, allocations: 15.94 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.005036, allocations: 91.59 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.00504, allocations: 4 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005042, allocations: 0 / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.005047, allocations: 0 / 328.2 MB, free: 4.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003301/0.005377, allocations: 318.1 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.005409, allocations: 8.031 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.005438, allocations: 12.92 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.005574, allocations: 151.4 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.005583, allocations: 4.312 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.0056, allocations: 4.375 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.9e-05/0.005689, allocations: 54.95 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005698, allocations: 192 / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005707, allocations: 4.125 kB / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.005712, allocations: 0 / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.005735, allocations: 15.92 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.005968, allocations: 175 kB / 328.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.006014, allocations: 30.52 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.00603, allocations: 8.859 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.006049, allocations: 0 / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.006072, allocations: 38.58 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.006074, allocations: 4 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004239/0.006497, allocations: 137.6 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.006524, allocations: 55.41 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.006631, allocations: 185.5 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.00664, allocations: 25.7 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.006675, allocations: 104 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.006709, allocations: 27.8 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.006738, allocations: 21.7 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.006809, allocations: 326.8 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.00682, allocations: 4 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.006831, allocations: 4 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.006867, allocations: 37.03 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006868, allocations: 0 / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.351e-05/0.006931, allocations: 61.62 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.006942, allocations: 4 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006946, allocations: 3.938 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.006954, allocations: 0 / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.007015, allocations: 19.98 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.007018, allocations: 0 / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.007037, allocations: 7.938 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.007044, allocations: 11.98 kB / 330 MB, free: 2.754 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 (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 5.252e-05/0.007096, allocations: 108.7 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.007115, allocations: 11.94 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.007216, allocations: 79.06 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007217, allocations: 0 / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.007219, allocations: 3.938 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007222, allocations: 432 / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.00745, allocations: 251.5 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.007452, allocations: 0 / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.007493, allocations: 15.98 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007495, allocations: 0 / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.0075, allocations: 4 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007503, allocations: 8.031 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.007505, allocations: 3.984 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.275e-05/0.007598, allocations: 164.2 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.007609, allocations: 11.91 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.007624, allocations: 3.984 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.333e-05/0.007657, allocations: 8 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.007682, allocations: 7.984 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.007685, allocations: 0 / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.00773, allocations: 48.16 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00773, allocations: 0 / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.007871, allocations: 23.98 kB / 330.8 MB, free: 1.945 MB / 298.7 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.001165/0.009037, allocations: 0.5697 MB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.607e-05/0.009123, allocations: 44.72 kB / 331.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.009127, allocations: 4 kB / 331.4 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.009151, allocations: 24.78 kB / 331.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.009311, allocations: 19.98 kB / 331.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.009628, allocations: 215.7 kB / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.009669, allocations: 75.33 kB / 331.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.009702, allocations: 9.031 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.009753, allocations: 67.42 kB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009754, allocations: 0 / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of Templates: time 0.003127/0.01288, allocations: 1.489 MB / 333.3 MB, free: 15.69 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.881852244026959]