Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009193/0.0009193, allocations: 83.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.007855/0.007855, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8905/0.8905, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.781e-05, allocations: 2.281 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001001/0.001029, allocations: 497 kB / 443.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1659/0.1669, allocations: 1.963 MB / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-06/0.1669, allocations: 0 / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.938e-06/0.1669, allocations: 0 / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.212e-06/0.1669, allocations: 0 / 445.9 MB, free: 43.43 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.001128/0.1681, allocations: 0.5652 MB / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 2.305e-05/0.1681, allocations: 3.234 kB / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.858e-05/0.1681, allocations: 2.969 kB / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.1681, allocations: 1.812 kB / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-06/0.1681, allocations: 0 / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.1681, allocations: 0 / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007078/0.1688, allocations: 0.8562 MB / 447.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.214e-06/0.1689, allocations: 0 / 447.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.1689, allocations: 0 / 447.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.1694, allocations: 0.8214 MB / 448.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1695, allocations: 2.938 kB / 448.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1695, allocations: 0 / 448.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1695, allocations: 0.7188 kB / 448.1 MB, free: 42.98 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.0002213/0.1697, allocations: 305.5 kB / 448.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1697, allocations: 15.53 kB / 448.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1698, allocations: 77.44 kB / 448.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.699e-05/0.1698, allocations: 177.1 kB / 448.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1698, allocations: 163.8 kB / 448.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1698, allocations: 162.7 kB / 449 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.784e-05/0.1699, allocations: 107.5 kB / 449.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1699, allocations: 75.47 kB / 449.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1699, allocations: 150.9 kB / 449.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1699, allocations: 157.4 kB / 449.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.329e-05/0.1699, allocations: 153.3 kB / 449.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.17, allocations: 392 kB / 450 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.717e-05/0.1701, allocations: 173.1 kB / 450.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.1701, allocations: 82.83 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.1701, allocations: 75.28 kB / 450.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1701, allocations: 110.7 kB / 450.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1701, allocations: 0 / 450.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.273e-05/0.1701, allocations: 32.83 kB / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1702, allocations: 156.3 kB / 450.6 MB, free: 40.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-06/0.1702, allocations: 89.86 kB / 450.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-06/0.1702, allocations: 29.08 kB / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-06/0.1702, allocations: 84.64 kB / 450.8 MB, free: 40.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.1702, allocations: 2.188 kB / 450.8 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.1702, allocations: 12.66 kB / 450.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.385e-05/0.1702, allocations: 310.8 kB / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-06/0.1702, allocations: 0 / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.1703, allocations: 25.7 kB / 451.2 MB, free: 39.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.849e-06/0.1703, allocations: 81.42 kB / 451.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.1703, allocations: 79.12 kB / 451.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.754e-05/0.1703, allocations: 28.7 kB / 451.4 MB, free: 39.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1703, allocations: 81 kB / 451.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1703, allocations: 79.22 kB / 451.5 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1703, allocations: 150.6 kB / 451.7 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-06/0.1704, allocations: 82 kB / 451.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1704, allocations: 161.9 kB / 451.9 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.1704, allocations: 78.19 kB / 452 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1704, allocations: 79.38 kB / 452 MB, free: 38.96 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.849e-05/0.1704, allocations: 264.7 kB / 452.3 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.1705, allocations: 109 kB / 452.4 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.1705, allocations: 114.1 kB / 452.5 MB, free: 38.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.1705, allocations: 184.3 kB / 452.7 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.1705, allocations: 184.8 kB / 452.9 MB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.1705, allocations: 180.2 kB / 453.1 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.994e-05/0.1706, allocations: 351.1 kB / 453.4 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.1706, allocations: 106.7 kB / 453.5 MB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.1706, allocations: 107.8 kB / 453.6 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.1706, allocations: 180.2 kB / 453.8 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1706, allocations: 182.4 kB / 454 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.1706, allocations: 180.3 kB / 454.1 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.1706, allocations: 183.1 kB / 454.3 MB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.148e-05/0.1707, allocations: 310 kB / 454.6 MB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-06/0.1707, allocations: 103.9 kB / 454.7 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1707, allocations: 176.3 kB / 454.9 MB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.394e-05/0.1707, allocations: 107.8 kB / 455 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.1708, allocations: 183.7 kB / 455.2 MB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1708, allocations: 108 kB / 455.3 MB, free: 35.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.444e-05/0.1708, allocations: 83.22 kB / 455.4 MB, free: 35.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1708, allocations: 0 / 455.4 MB, free: 35.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00037/0.1712, allocations: 148.6 kB / 455.5 MB, free: 35.48 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.000491/0.1717, allocations: 360.6 kB / 455.9 MB, free: 35.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.691e-05/0.1717, allocations: 4 kB / 455.9 MB, free: 35.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1717, allocations: 4 kB / 455.9 MB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1717, allocations: 2.875 kB / 455.9 MB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.1719, allocations: 458.5 kB / 456.3 MB, free: 34.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001027/0.172, allocations: 175.7 kB / 456.5 MB, free: 34.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.151e-05/0.172, allocations: 54.3 kB / 456.6 MB, free: 34.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.172, allocations: 8.5 kB / 456.6 MB, free: 34.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.172, allocations: 2.875 kB / 456.6 MB, free: 34.54 MB / 410.7 MB Notification: Performance of Templates: time 0.003159/0.1751, allocations: 2.973 MB / 459.5 MB, free: 34.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.931225789710879]