Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001057/0.001057, 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.004708/0.004708, allocations: 162.5 kB / 24.7 MB, free: 9.43 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.9304/0.9304, allocations: 177.2 MB / 205 MB, free: 5.734 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.2449/0.2449, allocations: 32.79 MB / 294.2 MB, free: 1.207 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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.69e-05, allocations: 7.062 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002141/0.002168, allocations: 1.597 MB / 442.5 MB, free: 2.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003376, allocations: 1.25 MB / 443.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.003438, allocations: 4 kB / 443.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.003675, allocations: 35.66 kB / 443.8 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.003963, allocations: 83.61 kB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.004196, allocations: 103.6 kB / 443.9 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.004327, allocations: 71.77 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.004418, allocations: 8 kB / 444 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.004477, allocations: 39.89 kB / 444.1 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.004566, allocations: 23.92 kB / 444.1 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.004581, allocations: 4 kB / 444.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.004709, allocations: 95.81 kB / 444.2 MB, free: 416 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.00476, allocations: 15.91 kB / 444.2 MB, free: 400 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.004785, allocations: 19.88 kB / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.004993, allocations: 147.5 kB / 444.4 MB, free: 232 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004995, allocations: 0 / 444.4 MB, free: 232 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004996, allocations: 0 / 444.4 MB, free: 232 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005001, allocations: 0 / 444.4 MB, free: 232 kB / 410.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.2221/0.2271, allocations: 324.4 kB / 444.7 MB, free: 46.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.2272, allocations: 13.91 kB / 444.7 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.2272, allocations: 7.484 kB / 444.7 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2274, allocations: 129.5 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2274, allocations: 1.688 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.2274, allocations: 6.75 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.2276, allocations: 89.55 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2276, allocations: 4.141 kB / 444.9 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2276, allocations: 0.75 kB / 444.9 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2276, allocations: 1.656 kB / 444.9 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.2277, allocations: 33.7 kB / 445 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.2279, allocations: 217.6 kB / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.2281, allocations: 45.11 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.2281, allocations: 20.59 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2282, allocations: 0 / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2282, allocations: 35.59 kB / 445.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.2282, allocations: 0 / 445.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004289/0.2286, allocations: 163.5 kB / 445.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2286, allocations: 80.89 kB / 445.5 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2287, allocations: 142.8 kB / 445.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.2287, allocations: 26.33 kB / 445.7 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.2288, allocations: 93.27 kB / 445.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.2288, allocations: 18.39 kB / 445.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.2288, allocations: 21.03 kB / 445.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.2289, allocations: 324.4 kB / 446.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.2289, allocations: 20.19 kB / 446.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.229, allocations: 63.06 kB / 446.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.229, allocations: 54.41 kB / 446.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.229, allocations: 3.938 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000106/0.2291, allocations: 90.59 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2291, allocations: 6.875 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2292, allocations: 0 / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2292, allocations: 3.797 kB / 446.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.2292, allocations: 17.39 kB / 446.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2292, allocations: 0 / 446.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.2292, allocations: 7.062 kB / 446.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2292, allocations: 2.656 kB / 446.4 MB, free: 45.51 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 (5): * Single equations (assignments): 5 * 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.052e-05/0.2293, allocations: 120 kB / 446.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.2293, allocations: 13.11 kB / 446.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.2295, allocations: 102.6 kB / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2295, allocations: 0 / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2295, allocations: 1.25 kB / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2295, allocations: 0 / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.2297, allocations: 303.2 kB / 446.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2297, allocations: 2.188 kB / 446.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.2298, allocations: 17.27 kB / 446.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2298, allocations: 0 / 446.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2298, allocations: 3.125 kB / 446.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2298, allocations: 2.719 kB / 446.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2298, allocations: 0 / 446.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.2299, allocations: 189.4 kB / 447.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.2299, allocations: 7.734 kB / 447.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2299, allocations: 0 / 447.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.2299, allocations: 9.875 kB / 447.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.23, allocations: 2.5 kB / 447.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.23, allocations: 5.828 kB / 447.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.23, allocations: 115 kB / 447.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.23, allocations: 0 / 447.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.2302, allocations: 36.31 kB / 447.3 MB, free: 44.88 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 (5): * Single equations (assignments): 5 * 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.0008683/0.2311, allocations: 0.5259 MB / 447.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2312, allocations: 62.23 kB / 447.9 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2312, allocations: 0 / 447.9 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.2313, allocations: 25.88 kB / 447.9 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.2315, allocations: 19.23 kB / 447.9 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.2319, allocations: 198.4 kB / 448.1 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.186e-05/0.2319, allocations: 82.7 kB / 448.2 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.232, allocations: 25.61 kB / 448.2 MB, free: 44.46 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.232, allocations: 0 / 448.2 MB, free: 44.46 MB / 410.7 MB Notification: Performance of Templates: time 0.002677/0.2346, allocations: 1.994 MB / 450.2 MB, free: 44.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.289267756044865]