Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0009864/0.0009864, allocations: 80.92 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.004537/0.004537, allocations: 172 kB / 24.91 MB, free: 8.781 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2522/0.2522, allocations: 32.81 MB / 294.6 MB, free: 1.223 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.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.311e-05, allocations: 3.188 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002269/0.002292, allocations: 1.694 MB / 325 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007146/0.003007, allocations: 0.5529 MB / 325.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.587e-05/0.003063, allocations: 3.938 kB / 325.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.003309, allocations: 79.7 kB / 325.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.003555, allocations: 99.53 kB / 325.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.003802, allocations: 111.6 kB / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.003941, allocations: 83.77 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.004023, allocations: 19.97 kB / 325.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.004088, allocations: 43.84 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.004176, allocations: 43.94 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.00419, allocations: 8 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.004264, allocations: 47.86 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.004304, allocations: 23.91 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.004327, allocations: 19.92 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.004467, allocations: 91.61 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004469, allocations: 0 / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00447, allocations: 0 / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004473, allocations: 0 / 326.2 MB, free: 6.691 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.000357/0.00483, allocations: 321.4 kB / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.004865, allocations: 8.031 kB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.004896, allocations: 4.938 kB / 326.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.005043, allocations: 151.4 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.005052, allocations: 4.375 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.00507, allocations: 4.312 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.845e-05/0.005169, allocations: 58.94 kB / 326.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.005178, allocations: 192 / 326.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.005187, allocations: 8.125 kB / 326.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005191, allocations: 0 / 326.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.005216, allocations: 7.984 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.005458, allocations: 171.7 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.127e-05/0.005509, allocations: 33.34 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.005526, allocations: 12.86 kB / 327 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.005542, allocations: 4.078 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.005566, allocations: 42.5 kB / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.005568, allocations: 0 / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000462/0.00603, allocations: 141.5 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.006056, allocations: 51.41 kB / 327.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.006186, allocations: 180.8 kB / 327.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.006198, allocations: 25.7 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.006241, allocations: 112.7 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.00627, allocations: 31.73 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.006307, allocations: 21.7 kB / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.006392, allocations: 326.8 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.006407, allocations: 4 kB / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.006424, allocations: 11.98 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.006469, allocations: 27.66 kB / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.00647, allocations: 4 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.26e-05/0.006552, allocations: 53.62 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.006565, allocations: 7.984 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006569, allocations: 4 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.006582, allocations: 4 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.063e-05/0.006653, allocations: 15.94 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.006655, allocations: 0 / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.006686, allocations: 7.984 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.006693, allocations: 4 kB / 328 MB, free: 4.699 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.962e-05/0.006753, allocations: 108.7 kB / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.00678, allocations: 11.94 kB / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.006899, allocations: 75.84 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006901, allocations: 3.938 kB / 328.2 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.006903, allocations: 4 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.006907, allocations: 3.984 kB / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.00719, allocations: 263.4 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007192, allocations: 0 / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.007238, allocations: 12 kB / 328.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007241, allocations: 0 / 328.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.007248, allocations: 7.984 kB / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.00725, allocations: 0 / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007251, allocations: 0 / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.007358, allocations: 168.2 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.007371, allocations: 15.94 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.007386, allocations: 8 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.007438, allocations: 0 / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.007463, allocations: 7.984 kB / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.007468, allocations: 0 / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.007521, allocations: 55.64 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007521, allocations: 0 / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.007727, allocations: 20 kB / 328.8 MB, free: 3.879 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.001455/0.009182, allocations: 0.5738 MB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.979e-05/0.009272, allocations: 36.72 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.009275, allocations: 0 / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.009308, allocations: 28.97 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.009517, allocations: 31.73 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.009866, allocations: 219.7 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.009918, allocations: 71.33 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.056e-05/0.009958, allocations: 4.734 kB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.01002, allocations: 67.36 kB / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01002, allocations: 0 / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of Templates: time 0.003575/0.0136, allocations: 1.522 MB / 331.3 MB, free: 1.594 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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.865345499943942]