Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001144/0.001144, allocations: 78.66 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.001339/0.001339, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.017/1.017, 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.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.2741/0.2741, allocations: 34.27 MB / 296.1 MB, free: 0.7227 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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.58e-05, allocations: 2.312 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.005372/0.005387, allocations: 1.656 MB / 380.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.006166, allocations: 0.5181 MB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.006216, allocations: 3.938 kB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005871/0.006803, allocations: 451.1 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.007193, allocations: 291.2 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.007431, allocations: 127.6 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.007626, allocations: 167.6 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.007704, allocations: 12.12 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.007823, allocations: 115.8 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.00803, allocations: 231.7 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.008046, allocations: 4 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.008106, allocations: 31.91 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.008193, allocations: 83.66 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.008224, allocations: 31.75 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.008432, allocations: 195.2 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.008433, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.008434, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.008439, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.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.0005469/0.008985, allocations: 0.6853 MB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.009023, allocations: 20.03 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.009066, allocations: 40.66 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.009215, allocations: 236.9 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.009225, allocations: 8.375 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.009231, allocations: 384 / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.00931, allocations: 54.89 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.009318, allocations: 192 / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.009325, allocations: 7.938 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.009329, allocations: 0 / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.009345, allocations: 4 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.00961, allocations: 324.3 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.00965, allocations: 38.98 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.009664, allocations: 11.75 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.009685, allocations: 11.92 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.009703, allocations: 33.39 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.009704, allocations: 3.938 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001233/0.009828, allocations: 81.41 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.00985, allocations: 51.41 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.01046, allocations: 0.6079 MB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.01047, allocations: 29.77 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.0106, allocations: 294.7 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.01061, allocations: 3.953 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.01064, allocations: 27.36 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01079, allocations: 0.5547 MB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.0108, allocations: 0 / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.01081, allocations: 4 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.01083, allocations: 11.69 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01083, allocations: 0 / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.462e-05/0.01089, allocations: 81.34 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.01091, allocations: 8.094 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.01091, allocations: 4 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01092, allocations: 0 / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.01097, allocations: 7.938 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.01097, allocations: 0 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.01099, allocations: 3.984 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.01099, allocations: 0 / 385.6 MB, free: 11.05 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 6.811e-05/0.01106, allocations: 160.6 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.0111, allocations: 43.66 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.216e-05/0.01119, allocations: 76.73 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01119, allocations: 4 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.01119, allocations: 0 / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.0112, allocations: 3.984 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.01134, allocations: 193.1 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01135, allocations: 4 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.01136, allocations: 7.984 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01136, allocations: 0 / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.01137, allocations: 7.938 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.01137, allocations: 3.938 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.01137, allocations: 4 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.659e-05/0.01147, allocations: 223.7 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.01149, allocations: 35.72 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.01151, allocations: 7.875 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.01154, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-06/0.01155, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.01155, allocations: 4 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.01173, allocations: 390.7 kB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01173, allocations: 0 / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.01187, allocations: 23.94 kB / 386.8 MB, free: 9.82 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.0006283/0.0125, allocations: 332.4 kB / 387.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.278e-05/0.01255, allocations: 15.62 kB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01255, allocations: 0 / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.01256, allocations: 19.66 kB / 387.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.01277, allocations: 31.56 kB / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.01327, allocations: 0.555 MB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.878e-05/0.01334, allocations: 119.2 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.01336, allocations: 8 kB / 387.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.0134, allocations: 78.19 kB / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01341, allocations: 0 / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of Templates: time 0.003396/0.0168, allocations: 1.224 MB / 389.2 MB, free: 7.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.1012092977762222]