Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.0008868/0.0008868, 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.004349/0.004349, allocations: 160.4 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.8757/0.8757, allocations: 177.1 MB / 205 MB, free: 5.738 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.2236/0.2236, allocations: 32.79 MB / 294.2 MB, free: 1.211 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.373e-05, allocations: 7.766 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002252/0.002275, allocations: 1.614 MB / 442.5 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006226/0.002898, allocations: 0.518 MB / 443 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.002948, allocations: 0 / 443 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.003348, allocations: 459 kB / 443.4 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.003676, allocations: 295.2 kB / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.003878, allocations: 130.8 kB / 443.9 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.004042, allocations: 163.7 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.004126, allocations: 4.188 kB / 444 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.004219, allocations: 115.8 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.004383, allocations: 243.5 kB / 444.4 MB, free: 204 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.004396, allocations: 0 / 444.4 MB, free: 204 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.004448, allocations: 27.92 kB / 444.4 MB, free: 176 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.004533, allocations: 83.72 kB / 444.5 MB, free: 92 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.004564, allocations: 39.73 kB / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1702/0.1747, allocations: 218.2 kB / 444.7 MB, free: 44.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1747, allocations: 4.281 kB / 444.7 MB, free: 44.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1747, allocations: 0 / 444.7 MB, free: 44.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1748, allocations: 0 / 444.7 MB, free: 44.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004994/0.1753, allocations: 0.5697 MB / 445.3 MB, free: 44.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1753, allocations: 8.906 kB / 445.3 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.1753, allocations: 42 kB / 445.4 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1755, allocations: 243 kB / 445.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1755, allocations: 3.25 kB / 445.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.1755, allocations: 2.562 kB / 445.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1756, allocations: 51.42 kB / 445.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1756, allocations: 0.5625 kB / 445.7 MB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1756, allocations: 0 / 445.7 MB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1757, allocations: 8.031 kB / 445.7 MB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.1757, allocations: 18.23 kB / 445.7 MB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.176, allocations: 313.9 kB / 446 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.099e-05/0.1761, allocations: 29.86 kB / 446 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.1761, allocations: 19.55 kB / 446 MB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1761, allocations: 9.188 kB / 446 MB, free: 43.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.1761, allocations: 31.31 kB / 446.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1761, allocations: 0 / 446.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000166/0.1763, allocations: 103.7 kB / 446.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.1763, allocations: 51.41 kB / 446.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.1768, allocations: 0.8576 MB / 447.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1768, allocations: 32.38 kB / 447.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.1768, allocations: 215.4 kB / 447.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.1769, allocations: 3.953 kB / 447.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.1769, allocations: 12.84 kB / 447.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.1769, allocations: 367.1 kB / 447.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.177, allocations: 10.19 kB / 447.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.177, allocations: 5.781 kB / 447.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.177, allocations: 24.11 kB / 447.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.177, allocations: 0.7812 kB / 447.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.894e-05/0.1771, allocations: 98.67 kB / 447.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1771, allocations: 5.75 kB / 447.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1771, allocations: 0 / 447.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1771, allocations: 3.062 kB / 447.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.1772, allocations: 9.812 kB / 447.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1772, allocations: 3.375 kB / 447.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.1772, allocations: 7 kB / 447.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.1772, allocations: 0.875 kB / 447.9 MB, free: 43.01 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 (2): * Single equations (assignments): 2 * 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 9.303e-05/0.1773, allocations: 213.1 kB / 448.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1773, allocations: 49.97 kB / 448.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1774, allocations: 98.06 kB / 448.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1774, allocations: 0 / 448.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1774, allocations: 6.281 kB / 448.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1774, allocations: 0 / 448.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.1776, allocations: 231.9 kB / 448.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1776, allocations: 3.5 kB / 448.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.1776, allocations: 7.344 kB / 448.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1776, allocations: 3.938 kB / 448.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.1776, allocations: 7.438 kB / 448.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.1776, allocations: 0 / 448.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1776, allocations: 0 / 448.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.444e-05/0.1777, allocations: 183.4 kB / 448.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.1777, allocations: 32.53 kB / 448.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1777, allocations: 6.906 kB / 448.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.1777, allocations: 7.203 kB / 448.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.1777, allocations: 6.281 kB / 448.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.1777, allocations: 2.812 kB / 448.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003026/0.1781, allocations: 0.6458 MB / 449.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1781, allocations: 0 / 449.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.1782, allocations: 21.41 kB / 449.4 MB, free: 42.43 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 (2): * Single equations (assignments): 2 * 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.0005823/0.1788, allocations: 368.3 kB / 449.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.197e-05/0.1789, allocations: 24.48 kB / 449.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1789, allocations: 0 / 449.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.1789, allocations: 12.2 kB / 449.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1792, allocations: 30.31 kB / 449.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.1798, allocations: 0.808 MB / 450.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.18, allocations: 216.7 kB / 450.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.18, allocations: 14.7 kB / 450.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.18, allocations: 0 / 450.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of Templates: time 0.003658/0.1836, allocations: 3.597 MB / 454.4 MB, free: 41.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.824714884161949]