Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.0009953/0.0009953, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001035/0.001035, allocations: 171.1 kB / 25.61 MB, free: 8.594 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.004/1.004, allocations: 177.1 MB / 206 MB, free: 4.496 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.1631/0.1631, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.143e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002226/0.002257, allocations: 1.621 MB / 378.9 MB, free: 23.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003379, allocations: 1.286 MB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.003431, allocations: 0 / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.0036, allocations: 27.73 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.003831, allocations: 87.55 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.004063, allocations: 103.7 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.004165, allocations: 75.75 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.004233, allocations: 11.86 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.00428, allocations: 35.84 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.004361, allocations: 27.97 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.004372, allocations: 4 kB / 380.6 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.004493, allocations: 95.75 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.004525, allocations: 15.92 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.004542, allocations: 8 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.004693, allocations: 143.5 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004695, allocations: 0 / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004696, allocations: 0 / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.0047, allocations: 0 / 380.8 MB, free: 22.05 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.0002404/0.00494, allocations: 428 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.004966, allocations: 11.98 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.004998, allocations: 16.89 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.005082, allocations: 140.4 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-06/0.005088, allocations: 384 / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.005101, allocations: 8.375 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.005225, allocations: 96.03 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.005241, allocations: 192 / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.005252, allocations: 12.06 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005257, allocations: 0 / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.005306, allocations: 11.98 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.005602, allocations: 256.3 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.00576, allocations: 39.06 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.005779, allocations: 15.77 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.005791, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.005805, allocations: 45.33 kB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 6.82e-07/0.005805, allocations: 0 / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000227/0.006032, allocations: 89.53 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.006057, allocations: 77.11 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.006127, allocations: 195.4 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.972e-06/0.006133, allocations: 25.7 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.006161, allocations: 150.8 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.006175, allocations: 19.84 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.006199, allocations: 27.36 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.006249, allocations: 496.1 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.006259, allocations: 7.984 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.006279, allocations: 49.08 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.006304, allocations: 23.67 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.006304, allocations: 0 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.249e-05/0.006357, allocations: 57.59 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.006366, allocations: 6.031 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.00637, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.934e-06/0.006376, allocations: 7.969 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.006411, allocations: 12.23 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006413, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.006432, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.006436, allocations: 4 kB / 383.1 MB, free: 19.53 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 4.172e-05/0.006478, allocations: 160.6 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.0065, allocations: 11.89 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.406e-05/0.006574, allocations: 62.14 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.006576, allocations: 4 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006577, allocations: 0 / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.00658, allocations: 7.984 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.006747, allocations: 301.9 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006748, allocations: 0 / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.006772, allocations: 11.98 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006774, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.006778, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006779, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.006781, allocations: 4 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.82e-05/0.006849, allocations: 211.8 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.006857, allocations: 7.953 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.006869, allocations: 4 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.006903, allocations: 4 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.006941, allocations: 11.98 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.006943, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.39e-05/0.006977, allocations: 147.1 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006977, allocations: 0 / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.007177, allocations: 35.88 kB / 384.1 MB, free: 18.5 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.0009968/0.008174, allocations: 499.1 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.983e-05/0.008254, allocations: 31.55 kB / 384.6 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.008256, allocations: 0 / 384.6 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.008272, allocations: 15.69 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.008476, allocations: 30.14 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.008737, allocations: 163.9 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.563e-05/0.008763, allocations: 67.2 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.008803, allocations: 15.97 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.008858, allocations: 90.12 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008859, allocations: 0 / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of Templates: time 0.003384/0.01224, allocations: 2.048 MB / 387 MB, free: 15.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.085117239970714]