Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008626/0.0008626, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003241/0.003241, allocations: 152.3 kB / 24.69 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8852/0.8852, allocations: 177 MB / 204.9 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.976e-05, allocations: 6.281 kB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001212/0.001242, allocations: 499.8 kB / 443.9 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1761/0.1773, allocations: 1.55 MB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.1774, allocations: 0 / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.1774, allocations: 0 / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.1774, allocations: 0 / 445.4 MB, free: 43.55 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.1781, allocations: 300.4 kB / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.179e-05/0.1782, allocations: 2.906 kB / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.1782, allocations: 0 / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.1782, allocations: 4.719 kB / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.883e-05/0.1783, allocations: 3.828 kB / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.1783, allocations: 0 / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.1787, allocations: 424.6 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.1787, allocations: 0 / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.1787, allocations: 4.5 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.179, allocations: 316.3 kB / 446.5 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.179, allocations: 2.344 kB / 446.5 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.179, allocations: 0 / 446.5 MB, free: 43.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.179, allocations: 0 / 446.5 MB, free: 43.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002578/0.1793, allocations: 298.9 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1793, allocations: 9.188 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.1794, allocations: 4.062 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.167e-05/0.1794, allocations: 108.4 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1794, allocations: 384 / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.1794, allocations: 384 / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.1795, allocations: 61.56 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1795, allocations: 192 / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1796, allocations: 384 / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1796, allocations: 3.938 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.1796, allocations: 32.55 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.664e-05/0.1797, allocations: 97.59 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.1797, allocations: 44.31 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.1797, allocations: 35.66 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.1797, allocations: 0.6562 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1798, allocations: 60.2 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.1798, allocations: 7.031 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001816/0.18, allocations: 115.2 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.18, allocations: 81.05 kB / 447.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.78e-05/0.18, allocations: 96 kB / 447.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.18, allocations: 25.7 kB / 447.5 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-06/0.18, allocations: 83.77 kB / 447.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.18, allocations: 9.078 kB / 447.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.1801, allocations: 16 kB / 447.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.644e-05/0.1801, allocations: 310.8 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.1801, allocations: 28.55 kB / 448 MB, free: 41.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.1801, allocations: 25.7 kB / 448 MB, free: 41.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.1801, allocations: 74.78 kB / 448.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1801, allocations: 0 / 448.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.108e-05/0.1802, allocations: 83.39 kB / 448.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1802, allocations: 34.2 kB / 448.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1802, allocations: 10.66 kB / 448.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1802, allocations: 2.719 kB / 448.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.1802, allocations: 0 / 448.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1802, allocations: 3.938 kB / 448.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.1802, allocations: 0 / 448.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1802, allocations: 2.75 kB / 448.2 MB, free: 41.55 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 3.65e-05/0.1803, allocations: 140 kB / 448.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-06/0.1803, allocations: 3.094 kB / 448.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.012e-05/0.1803, allocations: 6.281 kB / 448.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1803, allocations: 0 / 448.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.1803, allocations: 4 kB / 448.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1803, allocations: 7.875 kB / 448.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.905e-05/0.1803, allocations: 96.11 kB / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-07/0.1803, allocations: 0 / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.1803, allocations: 0 / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.1803, allocations: 3.938 kB / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.1803, allocations: 2.844 kB / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.1803, allocations: 0 / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1803, allocations: 3.469 kB / 448.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.36e-05/0.1804, allocations: 121.6 kB / 448.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-06/0.1804, allocations: 6.094 kB / 448.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.1804, allocations: 4.031 kB / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-06/0.1804, allocations: 0 / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.1804, allocations: 3.125 kB / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.1804, allocations: 0 / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.635e-06/0.1804, allocations: 79.22 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1804, allocations: 0 / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.1806, allocations: 62.16 kB / 448.7 MB, free: 41.04 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003568/0.181, allocations: 192 kB / 448.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.1811, allocations: 112.6 kB / 449 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1811, allocations: 3.938 kB / 449 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.1811, allocations: 87.31 kB / 449.1 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.568e-05/0.1812, allocations: 9.719 kB / 449.1 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.1813, allocations: 127.8 kB / 449.3 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.511e-05/0.1814, allocations: 54.33 kB / 449.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.1814, allocations: 8.5 kB / 449.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1814, allocations: 0 / 449.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of Templates: time 0.002097/0.1835, allocations: 1.274 MB / 450.6 MB, free: 40.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.236865115351975]