Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001449/0.001449, allocations: 79.58 kB / 21.18 MB, free: 3.387 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.001606/0.001606, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.594 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.2926/0.2926, allocations: 32.81 MB / 294.3 MB, free: 1.297 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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.248e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002358/0.00238, allocations: 1.711 MB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006718/0.003052, allocations: 0.7947 MB / 378.5 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.003099, allocations: 4 kB / 378.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.003407, allocations: 31.83 kB / 378.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.003633, allocations: 43.7 kB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.188e-06/0.003638, allocations: 0 / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.003809, allocations: 35.84 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.003853, allocations: 7.984 kB / 378.6 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.003892, allocations: 7.984 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.003947, allocations: 15.92 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.003961, allocations: 0 / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-05/0.004014, allocations: 16 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.004062, allocations: 15.92 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.004087, allocations: 7.984 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.004232, allocations: 55.72 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004234, allocations: 0 / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004235, allocations: 0 / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.00424, allocations: 3.938 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003707/0.004611, allocations: 396.3 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.004657, allocations: 12.03 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.0047, allocations: 8.891 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.004832, allocations: 116.6 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.004845, allocations: 4.375 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.004858, allocations: 384 / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.005022, allocations: 120.3 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.005035, allocations: 192 / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.005047, allocations: 384 / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/0.005105, allocations: 24.36 kB / 379.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.005151, allocations: 31.78 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006948/0.005846, allocations: 1.204 MB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.005952, allocations: 269.4 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.005991, allocations: 126.9 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.006022, allocations: 123.2 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.00608, allocations: 156.6 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.006081, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.239e-05/0.006163, allocations: 41.62 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.006228, allocations: 174.6 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.006421, allocations: 254.9 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.006431, allocations: 25.7 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.006533, allocations: 202.3 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-06/0.006537, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.006597, allocations: 51.31 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.006741, allocations: 0.4962 MB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.006771, allocations: 15.98 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.006897, allocations: 197.7 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.007081, allocations: 229.5 kB / 383 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.007085, allocations: 0 / 383 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002564/0.007341, allocations: 165.2 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.007358, allocations: 8.625 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.007366, allocations: 4 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.00739, allocations: 15.94 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.007502, allocations: 35.92 kB / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.007515, allocations: 11.92 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.007593, allocations: 27.78 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.007608, allocations: 12 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.0001046/0.007712, allocations: 283.7 kB / 383.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.007776, allocations: 152.8 kB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.007837, allocations: 164.6 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.307e-05/0.00791, allocations: 272 kB / 384.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.009e-05/0.00798, allocations: 264.2 kB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003084/0.01106, allocations: 276 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.0113, allocations: 0.5194 MB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-05/0.01134, allocations: 148.8 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.01138, allocations: 148.9 kB / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.818e-05/0.01145, allocations: 264.1 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/0.01152, allocations: 268 kB / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.035e-05/0.01159, allocations: 272.1 kB / 386.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.452e-05/0.01166, allocations: 276 kB / 386.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.01182, allocations: 448 kB / 387 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.01187, allocations: 160.8 kB / 387.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.01195, allocations: 268.1 kB / 387.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.01203, allocations: 148.8 kB / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.01211, allocations: 276 kB / 387.8 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.01215, allocations: 148.8 kB / 387.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.952e-05/0.01224, allocations: 163.2 kB / 388.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01224, allocations: 0 / 388.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.01252, allocations: 16 kB / 388.1 MB, free: 7.926 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0005296/0.01305, allocations: 312.9 kB / 388.4 MB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.0132, allocations: 72.22 kB / 388.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0132, allocations: 0 / 388.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.0132, allocations: 0 / 388.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.01359, allocations: 0.7062 MB / 389.2 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.01392, allocations: 287.8 kB / 389.5 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003053/0.01697, allocations: 59.84 kB / 389.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.01707, allocations: 49.56 kB / 389.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.0171, allocations: 16.5 kB / 389.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0171, allocations: 0 / 389.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of Templates: time 0.002641/0.01974, allocations: 0.7366 MB / 390.3 MB, free: 5.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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: 3.3005677526816726]