Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0008638/0.0008638, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00577/0.00577, allocations: 163.3 kB / 24.7 MB, free: 8.906 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.9125/0.9125, allocations: 177.2 MB / 205 MB, free: 5.723 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.259/0.259, allocations: 32.79 MB / 294.2 MB, free: 1.195 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.352e-05, allocations: 6.281 kB / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003193/0.003216, allocations: 1.644 MB / 442.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004299, allocations: 0.5685 MB / 443.1 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.004374, allocations: 4 kB / 443.1 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.004974, allocations: 455.1 kB / 443.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.00545, allocations: 303.1 kB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.005868, allocations: 171.2 kB / 444 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.006128, allocations: 183.7 kB / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.006247, allocations: 8 kB / 444.2 MB, free: 388 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.0064, allocations: 135.6 kB / 444.3 MB, free: 252 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.006668, allocations: 243.6 kB / 444.6 MB, free: 8 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.00669, allocations: 7.938 kB / 444.6 MB, free: 0 / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2093/0.216, allocations: 32.2 kB / 444.6 MB, free: 44.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.2161, allocations: 84.33 kB / 444.7 MB, free: 44.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.2162, allocations: 37.77 kB / 444.7 MB, free: 44.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.2165, allocations: 248.7 kB / 445 MB, free: 44.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2165, allocations: 4.344 kB / 445 MB, free: 44.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2165, allocations: 0 / 445 MB, free: 44.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2165, allocations: 0 / 445 MB, free: 44.59 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.0005283/0.217, allocations: 0.5834 MB / 445.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2171, allocations: 8.719 kB / 445.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.2171, allocations: 43.09 kB / 445.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.2174, allocations: 249.7 kB / 445.8 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2174, allocations: 3 kB / 445.8 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.2174, allocations: 3.719 kB / 445.8 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2175, allocations: 62.88 kB / 445.9 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2176, allocations: 4.141 kB / 445.9 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2176, allocations: 384 / 445.9 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2176, allocations: 7.5 kB / 445.9 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.2177, allocations: 39.08 kB / 446 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.218, allocations: 342 kB / 446.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.2181, allocations: 49.31 kB / 446.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.2182, allocations: 28.39 kB / 446.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2182, allocations: 3.938 kB / 446.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.2182, allocations: 33.91 kB / 446.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2182, allocations: 0.625 kB / 446.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005733/0.2188, allocations: 316.3 kB / 446.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.2188, allocations: 51.41 kB / 446.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.2193, allocations: 0.8652 MB / 447.6 MB, free: 43.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2193, allocations: 33.42 kB / 447.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.2194, allocations: 220 kB / 447.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2194, allocations: 21.31 kB / 447.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.2194, allocations: 21.38 kB / 447.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.2195, allocations: 363 kB / 448.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.2196, allocations: 37.72 kB / 448.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.2196, allocations: 44.95 kB / 448.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.2197, allocations: 94.47 kB / 448.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2197, allocations: 3.938 kB / 448.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001646/0.2199, allocations: 152.9 kB / 448.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2199, allocations: 5.562 kB / 448.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2199, allocations: 3.281 kB / 448.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2199, allocations: 0 / 448.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.22, allocations: 30.09 kB / 448.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.22, allocations: 5.141 kB / 448.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.22, allocations: 7.984 kB / 448.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.22, allocations: 2.375 kB / 448.6 MB, free: 42.78 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 0.0001117/0.2202, allocations: 221.8 kB / 448.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.2202, allocations: 44.45 kB / 448.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2204, allocations: 191.6 kB / 449.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.2204, allocations: 2.844 kB / 449.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2204, allocations: 0 / 449.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2204, allocations: 0 / 449.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.2208, allocations: 455.8 kB / 449.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2208, allocations: 0.7812 kB / 449.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.2208, allocations: 25.08 kB / 449.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2208, allocations: 4.953 kB / 449.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2208, allocations: 2.938 kB / 449.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2208, allocations: 0 / 449.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2208, allocations: 0 / 449.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.221, allocations: 257.1 kB / 449.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.221, allocations: 37.06 kB / 449.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.221, allocations: 2.375 kB / 449.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.2211, allocations: 9.125 kB / 449.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2211, allocations: 10.09 kB / 449.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.2211, allocations: 5.859 kB / 449.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003518/0.2215, allocations: 0.659 MB / 450.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2215, allocations: 4 kB / 450.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.2216, allocations: 24.55 kB / 450.6 MB, free: 41.94 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.0007815/0.2224, allocations: 435.3 kB / 451 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2226, allocations: 94.75 kB / 451.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2226, allocations: 0 / 451.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.2227, allocations: 53.34 kB / 451.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.2231, allocations: 25.88 kB / 451.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000851/0.2239, allocations: 0.8699 MB / 452 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2241, allocations: 220.7 kB / 452.3 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.2241, allocations: 21.22 kB / 452.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2241, allocations: 0 / 452.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of Templates: time 0.005145/0.2292, allocations: 4.094 MB / 456.4 MB, free: 40.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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: 5.339712668210268]