Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001145/0.001145, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004764/0.004764, allocations: 163.3 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.8749/0.8749, allocations: 177.1 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.2373/0.2373, 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.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 440.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.536e-05, allocations: 2.281 kB / 440.8 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008357/0.000851, allocations: 499.3 kB / 441.3 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.002755, allocations: 1.958 MB / 443.3 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-06/0.002758, allocations: 4 kB / 443.3 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.036e-06/0.002761, allocations: 0 / 443.3 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.52e-07/0.002762, allocations: 0 / 443.3 MB, free: 1.32 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.003798, allocations: 0.5656 MB / 443.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 1.338e-05/0.003811, allocations: 0 / 443.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.971e-05/0.003831, allocations: 3.984 kB / 443.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.142e-05/0.003842, allocations: 0 / 443.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-06/0.003849, allocations: 0 / 443.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.003856, allocations: 0 / 443.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1619/0.1658, allocations: 0.8554 MB / 444.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.1658, allocations: 2.906 kB / 444.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.1658, allocations: 0 / 444.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.1668, allocations: 0.8206 MB / 445.5 MB, free: 43.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1668, allocations: 0 / 445.5 MB, free: 43.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1668, allocations: 0 / 445.5 MB, free: 43.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1668, allocations: 0.5469 kB / 445.5 MB, free: 43.93 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002153/0.167, allocations: 306.7 kB / 445.8 MB, free: 43.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.167, allocations: 14.16 kB / 445.8 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.1671, allocations: 76.22 kB / 445.9 MB, free: 43.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.977e-05/0.1671, allocations: 178.3 kB / 446.1 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1671, allocations: 159.4 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1672, allocations: 152.4 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.719e-05/0.1672, allocations: 105 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1672, allocations: 78.47 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1672, allocations: 151.8 kB / 446.7 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.1672, allocations: 158.1 kB / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.1672, allocations: 154.1 kB / 447 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.1674, allocations: 393.5 kB / 447.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.487e-05/0.1674, allocations: 174.8 kB / 447.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.118e-05/0.1674, allocations: 80.14 kB / 447.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1674, allocations: 75.28 kB / 447.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1674, allocations: 116.5 kB / 447.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.1674, allocations: 0 / 447.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.204e-05/0.1675, allocations: 28.44 kB / 447.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1675, allocations: 155.5 kB / 448 MB, free: 41.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.211e-05/0.1675, allocations: 96.58 kB / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-06/0.1675, allocations: 29.27 kB / 448.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-06/0.1675, allocations: 80.14 kB / 448.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.1675, allocations: 0 / 448.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.1676, allocations: 12.91 kB / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.919e-05/0.1676, allocations: 310.8 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-06/0.1676, allocations: 0 / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.1676, allocations: 31.22 kB / 448.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.368e-06/0.1676, allocations: 78.25 kB / 448.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.1676, allocations: 75.28 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.398e-05/0.1677, allocations: 33.23 kB / 448.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1677, allocations: 78.16 kB / 448.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1677, allocations: 81.69 kB / 448.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.1677, allocations: 154.9 kB / 449.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-06/0.1677, allocations: 84.41 kB / 449.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1677, allocations: 153.7 kB / 449.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.1677, allocations: 85.91 kB / 449.4 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1678, allocations: 75.28 kB / 449.4 MB, free: 39.98 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 (0): * Single equations (assignments): 0 * 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 3.835e-05/0.1678, allocations: 263.5 kB / 449.7 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.1678, allocations: 107.9 kB / 449.8 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.1678, allocations: 110 kB / 449.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.1678, allocations: 182.4 kB / 450.1 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.1678, allocations: 180.2 kB / 450.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.1679, allocations: 190.7 kB / 450.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.888e-05/0.1679, allocations: 353.5 kB / 450.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1679, allocations: 104.2 kB / 450.9 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.1679, allocations: 101 kB / 451 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/0.1679, allocations: 189.3 kB / 451.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.168, allocations: 179.8 kB / 451.4 MB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.168, allocations: 183.9 kB / 451.5 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/0.168, allocations: 176.3 kB / 451.7 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.751e-05/0.168, allocations: 311.3 kB / 452 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-06/0.168, allocations: 106.5 kB / 452.1 MB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.1681, allocations: 181.8 kB / 452.3 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.1681, allocations: 104.5 kB / 452.4 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1681, allocations: 179.4 kB / 452.6 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1681, allocations: 109.1 kB / 452.7 MB, free: 36.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.737e-06/0.1681, allocations: 75.28 kB / 452.8 MB, free: 36.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1681, allocations: 3.156 kB / 452.8 MB, free: 36.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000305/0.1684, allocations: 159 kB / 452.9 MB, free: 36.56 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 (0): * Single equations (assignments): 0 * 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.0004331/0.1689, allocations: 360.3 kB / 453.3 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.226e-05/0.1689, allocations: 3.062 kB / 453.3 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1689, allocations: 0 / 453.3 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.1689, allocations: 6.406 kB / 453.3 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.1691, allocations: 461.6 kB / 453.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001028/0.1692, allocations: 177.5 kB / 453.9 MB, free: 35.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.671e-05/0.1692, allocations: 51.36 kB / 454 MB, free: 35.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.109e-05/0.1692, allocations: 11.38 kB / 454 MB, free: 35.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1692, allocations: 0 / 454 MB, free: 35.66 MB / 410.7 MB Notification: Performance of Templates: time 0.003018/0.1722, allocations: 2.978 MB / 456.9 MB, free: 35.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.990876478143036]