Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001283/0.001283, allocations: 85.91 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.001435/0.001435, allocations: 164.8 kB / 23.96 MB, free: 4.164 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.466/1.466, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2268/0.2268, allocations: 34.27 MB / 294.9 MB, free: 14.58 MB / 286.1 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.892e-05, allocations: 10.22 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003141/0.00317, allocations: 1.618 MB / 444.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.004293, allocations: 0.5336 MB / 444.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.004357, allocations: 0 / 444.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000626/0.004983, allocations: 447.1 kB / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.005514, allocations: 299.1 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.005911, allocations: 126.8 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.00619, allocations: 171.6 kB / 445.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.006293, allocations: 8 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.006509, allocations: 119.8 kB / 446 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.006854, allocations: 243.6 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.00688, allocations: 4 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.00697, allocations: 23.98 kB / 446.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.007096, allocations: 87.7 kB / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.007153, allocations: 27.75 kB / 446.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.007496, allocations: 243 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.007499, allocations: 0 / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.0075, allocations: 0 / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.007506, allocations: 0 / 446.6 MB, free: 1.461 MB / 366.1 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.0008314/0.008338, allocations: 0.5737 MB / 447.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.008378, allocations: 12.03 kB / 447.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.008463, allocations: 40.66 kB / 447.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.008753, allocations: 242 kB / 447.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.008763, allocations: 384 / 447.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.00878, allocations: 8.375 kB / 447.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.008956, allocations: 54.12 kB / 447.5 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.008965, allocations: 192 / 447.5 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.008976, allocations: 4.125 kB / 447.5 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.00898, allocations: 0 / 447.5 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.009117, allocations: 35.97 kB / 447.6 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.009597, allocations: 320.5 kB / 447.9 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.009742, allocations: 42.5 kB / 447.9 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.009814, allocations: 16.94 kB / 447.9 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.009846, allocations: 7.938 kB / 447.9 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1987/0.2085, allocations: 31.22 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 4.639e-06/0.2085, allocations: 0.6875 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005278/0.2091, allocations: 118.5 kB / 448.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.2091, allocations: 52.47 kB / 448.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.2101, allocations: 0.8663 MB / 449 MB, free: 19.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2101, allocations: 25.7 kB / 449 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2103, allocations: 214.1 kB / 449.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.2103, allocations: 11.05 kB / 449.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.2103, allocations: 14.66 kB / 449.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.2104, allocations: 366.1 kB / 449.6 MB, free: 18.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.2105, allocations: 11.66 kB / 449.6 MB, free: 18.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.2105, allocations: 20.58 kB / 449.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.2107, allocations: 37.66 kB / 449.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2107, allocations: 0 / 449.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000196/0.2109, allocations: 111.1 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2109, allocations: 5.109 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2109, allocations: 2.625 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2109, allocations: 7.734 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.211, allocations: 8.469 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.211, allocations: 2.344 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.2111, allocations: 4 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2111, allocations: 1.844 kB / 449.8 MB, free: 18.48 MB / 366.1 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 (3): * Single equations (assignments): 3 * 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.0001735/0.2113, allocations: 208.3 kB / 450 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.2113, allocations: 54.69 kB / 450.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.2116, allocations: 124.8 kB / 450.2 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2116, allocations: 1 kB / 450.2 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2116, allocations: 1 kB / 450.2 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2116, allocations: 0.6562 kB / 450.2 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.2119, allocations: 227.8 kB / 450.4 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2119, allocations: 3.75 kB / 450.4 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.2119, allocations: 9.75 kB / 450.5 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2119, allocations: 5.641 kB / 450.5 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.212, allocations: 1.031 kB / 450.5 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.212, allocations: 4.422 kB / 450.5 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.212, allocations: 0 / 450.5 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.2122, allocations: 202.3 kB / 450.7 MB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.2122, allocations: 41.97 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.2122, allocations: 2.109 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.2123, allocations: 7.703 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.2123, allocations: 2.531 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.2123, allocations: 5.875 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006147/0.213, allocations: 0.6527 MB / 451.4 MB, free: 17.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.213, allocations: 0 / 451.4 MB, free: 17.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.2132, allocations: 22.53 kB / 451.4 MB, free: 17.66 MB / 366.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 (3): * Single equations (assignments): 3 * 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.001351/0.2146, allocations: 367.4 kB / 451.8 MB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2148, allocations: 37.94 kB / 451.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2148, allocations: 1.156 kB / 451.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.2149, allocations: 23.34 kB / 451.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.2152, allocations: 27.89 kB / 451.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2163, allocations: 0.7867 MB / 452.6 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2165, allocations: 218.6 kB / 452.8 MB, free: 17.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.2165, allocations: 5.734 kB / 452.8 MB, free: 17.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.2166, allocations: 12.47 kB / 452.9 MB, free: 17.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2166, allocations: 1.125 kB / 452.9 MB, free: 17.08 MB / 366.1 MB Notification: Performance of Templates: time 0.005572/0.2221, allocations: 1.143 MB / 454 MB, free: 16.89 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.794979494065046]