Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.000986/0.000986, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001025/0.001025, allocations: 167.8 kB / 24.82 MB, free: 8.863 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.9723/0.9723, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2482/0.2482, allocations: 32.8 MB / 294.6 MB, free: 1.172 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.531e-05, allocations: 9.062 kB / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002113/0.002139, allocations: 1.643 MB / 378.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.003087, allocations: 0.518 MB / 378.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.003167, allocations: 4 kB / 378.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.00381, allocations: 459 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.004242, allocations: 287.2 kB / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.004516, allocations: 123.7 kB / 379.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.004755, allocations: 167.6 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004858, allocations: 8.188 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.005012, allocations: 119.8 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.005222, allocations: 239.6 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.00524, allocations: 4 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.005317, allocations: 31.86 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.005408, allocations: 79.7 kB / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.005442, allocations: 39.73 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.005645, allocations: 175.2 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005648, allocations: 0 / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.00565, allocations: 4 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.005655, allocations: 0 / 380.4 MB, free: 476 kB / 346.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.0005447/0.006199, allocations: 0.6892 MB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.006235, allocations: 8.031 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.006285, allocations: 48.66 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006458, allocations: 248.8 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.006466, allocations: 384 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.006474, allocations: 4.375 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/0.00657, allocations: 50.95 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.006579, allocations: 192 / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.006586, allocations: 7.938 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006592, allocations: 0 / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.006609, allocations: 11.92 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.00691, allocations: 332.2 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.874e-05/0.006949, allocations: 31.06 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.006967, allocations: 7.688 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.006989, allocations: 4 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.007008, allocations: 37.39 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.007009, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.007144, allocations: 85.34 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.007171, allocations: 55.41 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.007558, allocations: 0.5962 MB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.007568, allocations: 25.7 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.008018, allocations: 306.8 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.008035, allocations: 7.953 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.008063, allocations: 19.38 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.008211, allocations: 0.5547 MB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.008221, allocations: 4 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.008229, allocations: 3.984 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.008254, allocations: 15.69 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008255, allocations: 0 / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.07e-05/0.008326, allocations: 85.3 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.008337, allocations: 4 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.008341, allocations: 4.094 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.008352, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.008409, allocations: 7.984 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.008412, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.008435, allocations: 7.984 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.00844, allocations: 0 / 383.6 MB, free: 13.03 MB / 362.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 (2): * Single equations (assignments): 2 * 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 7.069e-05/0.00851, allocations: 152.6 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.008542, allocations: 47.66 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.008647, allocations: 80.67 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008649, allocations: 4.031 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.00865, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008653, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.008814, allocations: 197.1 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008815, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.008841, allocations: 4 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008843, allocations: 3.938 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.008847, allocations: 3.938 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008848, allocations: 0 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008849, allocations: 0 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.008962, allocations: 227.6 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.008987, allocations: 39.75 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.009001, allocations: 7.938 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.00904, allocations: 3.938 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-06/0.009049, allocations: 0 / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.009053, allocations: 3.984 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.00925, allocations: 390.7 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00925, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.009409, allocations: 15.94 kB / 384.8 MB, free: 11.81 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 (2): * Single equations (assignments): 2 * 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.0006534/0.01006, allocations: 342.8 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.526e-05/0.01012, allocations: 15.67 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01012, allocations: 0 / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.01013, allocations: 15.69 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01035, allocations: 21.95 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.01089, allocations: 0.5574 MB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.924e-05/0.01096, allocations: 115.3 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.556e-05/0.01099, allocations: 11.97 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.01104, allocations: 78.2 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01104, allocations: 0 / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003336/0.01437, allocations: 1.233 MB / 387.1 MB, free: 9.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.907124340068549]