Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0008138/0.0008138, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00488/0.00488, allocations: 159 kB / 24.7 MB, free: 9.41 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.8714/0.8714, allocations: 177.1 MB / 205 MB, free: 5.73 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.2529/0.2529, allocations: 34.25 MB / 295.7 MB, free: 0.6875 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.499e-05, allocations: 3.266 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.2009/0.2009, allocations: 1.651 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2024, allocations: 1.276 MB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.2025, allocations: 2.844 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.2027, allocations: 29.25 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.203, allocations: 90.14 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.2033, allocations: 183.1 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.2034, allocations: 72.3 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2036, allocations: 19.88 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.2036, allocations: 46.53 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.2037, allocations: 25.78 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2038, allocations: 2.594 kB / 446.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.2039, allocations: 100.9 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.2039, allocations: 19.42 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.204, allocations: 13.89 kB / 447 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.2042, allocations: 162.5 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2042, allocations: 0 / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2042, allocations: 1.969 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2042, allocations: 0 / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004355/0.2046, allocations: 341.2 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2047, allocations: 8.938 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.2047, allocations: 10.8 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2049, allocations: 137.5 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.2049, allocations: 3.406 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.2049, allocations: 3.609 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.205, allocations: 104.4 kB / 447.7 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2051, allocations: 192 / 447.7 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2051, allocations: 6.781 kB / 447.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2051, allocations: 0 / 447.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.2051, allocations: 50.17 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.2054, allocations: 240.3 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.2055, allocations: 47.17 kB / 448.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.2056, allocations: 29.41 kB / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.2056, allocations: 0 / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2056, allocations: 37.34 kB / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2056, allocations: 0 / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005565/0.2062, allocations: 233.1 kB / 448.4 MB, free: 41.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2062, allocations: 80.34 kB / 448.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.2063, allocations: 149.6 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.2063, allocations: 29.7 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.2063, allocations: 86.89 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2064, allocations: 29.61 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.2064, allocations: 25.92 kB / 448.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.651e-05/0.2064, allocations: 328.9 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.2065, allocations: 42.56 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.2066, allocations: 77.7 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.2067, allocations: 89.06 kB / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2067, allocations: 32 / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001468/0.2068, allocations: 127.8 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2068, allocations: 5.281 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2068, allocations: 2.75 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2069, allocations: 0 / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.2069, allocations: 21.86 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2069, allocations: 0 / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.207, allocations: 15.22 kB / 449.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.207, allocations: 2.594 kB / 449.5 MB, free: 41 MB / 410.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 (7): * Single equations (assignments): 7 * 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 5.243e-05/0.207, allocations: 127.6 kB / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.2071, allocations: 6.953 kB / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.2073, allocations: 148.6 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.2073, allocations: 2.906 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2073, allocations: 0 / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2073, allocations: 0 / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.2075, allocations: 351.4 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2075, allocations: 0 / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.2076, allocations: 21.59 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2076, allocations: 0 / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2076, allocations: 2.906 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2076, allocations: 0 / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2076, allocations: 6.281 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2078, allocations: 229.3 kB / 450.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-06/0.2078, allocations: 6.828 kB / 450.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2078, allocations: 7.188 kB / 450.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/0.2078, allocations: 9.094 kB / 450.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2079, allocations: 5.203 kB / 450.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2079, allocations: 2.906 kB / 450.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.988e-05/0.2079, allocations: 115.7 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2079, allocations: 4 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.2081, allocations: 44.11 kB / 450.5 MB, free: 40.25 MB / 410.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 (7): * Single equations (assignments): 7 * 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.0009301/0.2091, allocations: 0.5367 MB / 451.1 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.2093, allocations: 89.06 kB / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2093, allocations: 0 / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.2093, allocations: 50.36 kB / 451.2 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2096, allocations: 23.73 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.21, allocations: 236.2 kB / 451.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.21, allocations: 84.08 kB / 451.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.2101, allocations: 20.2 kB / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2101, allocations: 0 / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of Templates: time 0.00334/0.2134, allocations: 2.237 MB / 453.8 MB, free: 39.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.744364713318646]