Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001034/0.001034, 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.001145/0.001145, allocations: 173.8 kB / 24.91 MB, free: 9.195 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.9977/0.9977, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2322/0.2322, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.CombiTable1Dv.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.581e-05, allocations: 7.516 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.00327/0.003296, allocations: 1.64 MB / 326.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004353, allocations: 0.5413 MB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.004416, allocations: 0 / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.004638, allocations: 19.86 kB / 327.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.004966, allocations: 87.55 kB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.005311, allocations: 119.5 kB / 327.7 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.005468, allocations: 64.41 kB / 327.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.005559, allocations: 15.97 kB / 327.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.005631, allocations: 23.92 kB / 327.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.005692, allocations: 15.98 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.005708, allocations: 4 kB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.005796, allocations: 39.91 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.005837, allocations: 7.938 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.005865, allocations: 15.92 kB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.006036, allocations: 75.73 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006038, allocations: 0 / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006039, allocations: 4 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.006044, allocations: 0 / 327.9 MB, free: 5 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.0003786/0.006423, allocations: 289.8 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.00646, allocations: 12.03 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.006493, allocations: 4.938 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.006655, allocations: 148.3 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.006664, allocations: 384 / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.006686, allocations: 4.375 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.006803, allocations: 50.95 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.006813, allocations: 192 / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.006821, allocations: 12.12 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.006827, allocations: 0 / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.006853, allocations: 7.984 kB / 328.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.007112, allocations: 159.1 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.007267, allocations: 33.38 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.007286, allocations: 12.92 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.007303, allocations: 0 / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.00733, allocations: 38.64 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.007331, allocations: 0 / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003247/0.007656, allocations: 86.27 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.007692, allocations: 55.41 kB / 328.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.007817, allocations: 151.3 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.007829, allocations: 25.7 kB / 329 MB, free: 3.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.007869, allocations: 96.05 kB / 329.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.00789, allocations: 11.89 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.007925, allocations: 17.72 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.008021, allocations: 322.8 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.008038, allocations: 4 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.008053, allocations: 7.938 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.008095, allocations: 23.86 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008097, allocations: 4 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.789e-05/0.008185, allocations: 65.53 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.008199, allocations: 4 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008203, allocations: 0 / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.008217, allocations: 0 / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.008277, allocations: 12 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.008279, allocations: 0 / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.008307, allocations: 7.922 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.008312, allocations: 0 / 329.6 MB, free: 3.211 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 6.797e-05/0.00838, allocations: 112.7 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.008411, allocations: 15.94 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.008533, allocations: 54.14 kB / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.008536, allocations: 4 kB / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.008538, allocations: 0 / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.008541, allocations: 0 / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.008812, allocations: 222.6 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.008814, allocations: 0 / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.008864, allocations: 11.98 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008866, allocations: 0 / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.008872, allocations: 0 / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008874, allocations: 4 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.008875, allocations: 4 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.008987, allocations: 147.6 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.009001, allocations: 15.94 kB / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.009014, allocations: 4 kB / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.00907, allocations: 0 / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.009095, allocations: 4 kB / 330.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.009099, allocations: 0 / 330.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.00915, allocations: 38.64 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00915, allocations: 4 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.00939, allocations: 15.94 kB / 330.2 MB, free: 2.508 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.001632/0.01102, allocations: 0.5061 MB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01113, allocations: 28.78 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.01114, allocations: 0 / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.01116, allocations: 16.8 kB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.0114, allocations: 19.92 kB / 330.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.01213, allocations: 179.1 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.01218, allocations: 67.33 kB / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.01222, allocations: 11.98 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.01229, allocations: 55.38 kB / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01229, allocations: 0 / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of Templates: time 0.003921/0.01621, allocations: 1.261 MB / 332.3 MB, free: 0.5781 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.8720420002937317]