Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001249/0.001249, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001319/0.001319, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.405/1.405, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.1949/0.1949, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 440.1 MB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.849e-05, allocations: 6.219 kB / 440.1 MB, free: 9.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002914/0.002942, allocations: 1.652 MB / 441.7 MB, free: 7.562 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003981, allocations: 0.7635 MB / 442.5 MB, free: 6.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.004025, allocations: 11.94 kB / 442.5 MB, free: 6.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.004318, allocations: 23.83 kB / 442.5 MB, free: 6.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.004554, allocations: 47.77 kB / 442.6 MB, free: 6.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.333e-06/0.004561, allocations: 4 kB / 442.6 MB, free: 6.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.004735, allocations: 31.84 kB / 442.6 MB, free: 6.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.004778, allocations: 3.984 kB / 442.6 MB, free: 6.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.004823, allocations: 8 kB / 442.6 MB, free: 6.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.004902, allocations: 19.91 kB / 442.7 MB, free: 6.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.004915, allocations: 0 / 442.7 MB, free: 6.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.616e-05/0.004971, allocations: 19.94 kB / 442.7 MB, free: 6.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.005026, allocations: 19.92 kB / 442.7 MB, free: 6.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.005058, allocations: 7.938 kB / 442.7 MB, free: 6.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.005217, allocations: 67.73 kB / 442.8 MB, free: 6.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.005222, allocations: 0 / 442.8 MB, free: 6.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005223, allocations: 0 / 442.8 MB, free: 6.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.005227, allocations: 0 / 442.8 MB, free: 6.535 MB / 414.1 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.000378/0.005605, allocations: 286 kB / 443.1 MB, free: 6.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005643, allocations: 8.031 kB / 443.1 MB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.005679, allocations: 8.891 kB / 443.1 MB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005825, allocations: 121.6 kB / 443.2 MB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.00584, allocations: 8.359 kB / 443.2 MB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.005851, allocations: 8.375 kB / 443.2 MB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.006055, allocations: 115.4 kB / 443.3 MB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.006066, allocations: 8.125 kB / 443.3 MB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.006076, allocations: 384 / 443.3 MB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.006123, allocations: 24.36 kB / 443.3 MB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.006206, allocations: 47.84 kB / 443.4 MB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.006887, allocations: 0.8356 MB / 444.2 MB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.00701, allocations: 165.1 kB / 444.4 MB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.007058, allocations: 84.14 kB / 444.5 MB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.007094, allocations: 83.31 kB / 444.6 MB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.007157, allocations: 113.8 kB / 444.7 MB, free: 4.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.007158, allocations: 0 / 444.7 MB, free: 4.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.57e-05/0.007234, allocations: 37.59 kB / 444.7 MB, free: 4.441 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.00731, allocations: 130.7 kB / 444.8 MB, free: 4.301 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.007499, allocations: 194 kB / 445 MB, free: 4.102 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.007514, allocations: 25.7 kB / 445 MB, free: 4.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.007618, allocations: 151.5 kB / 445.2 MB, free: 3.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/0.007624, allocations: 4 kB / 445.2 MB, free: 3.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.007682, allocations: 45.66 kB / 445.2 MB, free: 3.863 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.007826, allocations: 318.8 kB / 445.6 MB, free: 3.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.007875, allocations: 39.91 kB / 445.6 MB, free: 3.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.008015, allocations: 155.7 kB / 445.7 MB, free: 3.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.008229, allocations: 200.9 kB / 445.9 MB, free: 3.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.008231, allocations: 0 / 445.9 MB, free: 3.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003122/0.008544, allocations: 197.2 kB / 446.1 MB, free: 2.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.00856, allocations: 8.625 kB / 446.1 MB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.008569, allocations: 7.984 kB / 446.1 MB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.00859, allocations: 15.94 kB / 446.2 MB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.008713, allocations: 35.92 kB / 446.2 MB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.008725, allocations: 7.938 kB / 446.2 MB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.008809, allocations: 27.84 kB / 446.2 MB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.008826, allocations: 12 kB / 446.2 MB, free: 2.723 MB / 414.1 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.0001484/0.008975, allocations: 213 kB / 446.5 MB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.009053, allocations: 108.9 kB / 446.6 MB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.896e-05/0.009122, allocations: 120.8 kB / 446.7 MB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.95e-05/0.009221, allocations: 184.1 kB / 446.9 MB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-05/0.009307, allocations: 176.3 kB / 447 MB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.321e-05/0.00939, allocations: 188.2 kB / 447.2 MB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.009669, allocations: 372.8 kB / 447.6 MB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/0.009773, allocations: 101 kB / 447.7 MB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.009827, allocations: 108.9 kB / 447.8 MB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.822e-05/0.009915, allocations: 180.3 kB / 448 MB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.01, allocations: 180.2 kB / 448.1 MB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-05/0.01009, allocations: 188.2 kB / 448.3 MB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.241e-05/0.01018, allocations: 180.2 kB / 448.5 MB, free: 348 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.01037, allocations: 315.6 kB / 448.8 MB, free: 8 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.01047, allocations: 124.9 kB / 448.9 MB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.01057, allocations: 184.3 kB / 449.1 MB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.01068, allocations: 105 kB / 449.2 MB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.01077, allocations: 184.1 kB / 449.4 MB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.01081, allocations: 101 kB / 449.5 MB, free: 15.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.01093, allocations: 135.2 kB / 449.6 MB, free: 15.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01093, allocations: 0 / 449.6 MB, free: 15.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.01126, allocations: 15.95 kB / 449.6 MB, free: 15.14 MB / 430.1 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.0007097/0.01197, allocations: 272.1 kB / 449.9 MB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.01212, allocations: 76.03 kB / 450 MB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.01213, allocations: 0 / 450 MB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/0.01213, allocations: 3.938 kB / 450 MB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.01257, allocations: 467.7 kB / 450.4 MB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.01295, allocations: 245 kB / 450.7 MB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/0.01305, allocations: 84.81 kB / 450.8 MB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.01319, allocations: 49.08 kB / 450.8 MB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.01322, allocations: 16.5 kB / 450.8 MB, free: 13.95 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.01322, allocations: 0 / 450.8 MB, free: 13.95 MB / 430.1 MB Notification: Performance of Templates: time 0.003438/0.01665, allocations: 0.7174 MB / 451.5 MB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.335104238241911]