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.001822/0.001822, allocations: 71.59 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001855/0.001855, allocations: 159.5 kB / 24.5 MB, free: 3.723 MB / 14.72 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 1.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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.203/0.203, allocations: 34.26 MB / 295.5 MB, free: 14.56 MB / 286.1 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 0.002177/0.002177, allocations: 71.88 kB / 443.1 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 66 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001582/0.3621, allocations: 496.9 kB / 0.4977 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3645, allocations: 1.967 MB / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.787e-06/0.3645, allocations: 0 / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-06/0.3645, allocations: 0 / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.833e-06/0.3645, allocations: 4 kB / 0.4996 GB, free: 28.25 MB / 446.1 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.001512/0.366, allocations: 0.5564 MB / 0.5001 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.212e-05/0.3661, allocations: 3.984 kB / 0.5002 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.3661, allocations: 3.375 kB / 0.5002 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-06/0.3661, allocations: 0 / 0.5002 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-06/0.3661, allocations: 4 kB / 0.5002 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-06/0.3661, allocations: 0 / 0.5002 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3673, allocations: 0.8563 MB / 0.501 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.3673, allocations: 0 / 0.501 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.3673, allocations: 0 / 0.501 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007139/0.368, allocations: 0.7609 MB / 0.5017 GB, free: 27.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.368, allocations: 0 / 0.5017 GB, free: 27.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.368, allocations: 3.938 kB / 0.5017 GB, free: 27.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.368, allocations: 0 / 0.5017 GB, free: 27.74 MB / 446.1 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.0002573/0.3683, allocations: 311.4 kB / 0.502 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3683, allocations: 9.906 kB / 0.502 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.3683, allocations: 76.22 kB / 0.5021 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.586e-05/0.3684, allocations: 184.9 kB / 0.5023 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3684, allocations: 150.9 kB / 0.5024 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.3684, allocations: 150.9 kB / 0.5026 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.169e-05/0.3685, allocations: 105.3 kB / 0.5027 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3685, allocations: 82.5 kB / 0.5028 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3685, allocations: 154.6 kB / 0.5029 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3685, allocations: 153.8 kB / 0.5031 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/0.3685, allocations: 157.6 kB / 0.5032 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.3687, allocations: 397.6 kB / 0.5036 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.3688, allocations: 172.4 kB / 0.5038 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.3688, allocations: 80.14 kB / 0.5038 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.3688, allocations: 75.28 kB / 0.5039 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.3688, allocations: 109.2 kB / 0.504 GB, free: 25.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3688, allocations: 0 / 0.504 GB, free: 25.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.539e-05/0.3689, allocations: 37.58 kB / 0.504 GB, free: 25.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3689, allocations: 155.9 kB / 0.5042 GB, free: 25.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.524e-05/0.3689, allocations: 93.02 kB / 0.5043 GB, free: 25.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.3689, allocations: 29.64 kB / 0.5043 GB, free: 25.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.343e-05/0.369, allocations: 84.14 kB / 0.5044 GB, free: 24.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.369, allocations: 3.984 kB / 0.5044 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.369, allocations: 17.19 kB / 0.5044 GB, free: 24.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.369, allocations: 310.8 kB / 0.5047 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-06/0.369, allocations: 0 / 0.5047 GB, free: 24.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.369, allocations: 25.7 kB / 0.5047 GB, free: 24.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.382e-05/0.3691, allocations: 75.28 kB / 0.5048 GB, free: 24.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.3691, allocations: 78.62 kB / 0.5049 GB, free: 24.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.29e-05/0.3691, allocations: 32.97 kB / 0.5049 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3691, allocations: 81.69 kB / 0.505 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3691, allocations: 79.36 kB / 0.5051 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.3692, allocations: 161.7 kB / 0.5052 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.063e-05/0.3692, allocations: 79.22 kB / 0.5053 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.3692, allocations: 153.6 kB / 0.5054 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.3693, allocations: 83.22 kB / 0.5055 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3693, allocations: 78.7 kB / 0.5056 GB, free: 23.68 MB / 446.1 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 5.484e-05/0.3693, allocations: 260.1 kB / 0.5058 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.3694, allocations: 108 kB / 0.5059 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.3694, allocations: 111.7 kB / 0.506 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.3694, allocations: 180.3 kB / 0.5062 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/0.3694, allocations: 186.4 kB / 0.5064 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.3694, allocations: 180.3 kB / 0.5066 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.3696, allocations: 351.8 kB / 0.5069 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.3696, allocations: 108.5 kB / 0.507 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.3696, allocations: 108 kB / 0.5071 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.78e-05/0.3696, allocations: 184.2 kB / 0.5073 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3696, allocations: 179.2 kB / 0.5075 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.523e-05/0.3697, allocations: 184.1 kB / 0.5076 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.267e-05/0.3697, allocations: 186.7 kB / 0.5078 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.686e-05/0.3697, allocations: 302.9 kB / 0.5081 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.3698, allocations: 104.1 kB / 0.5082 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.3698, allocations: 187.6 kB / 0.5084 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.001e-05/0.3698, allocations: 108 kB / 0.5085 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.3699, allocations: 176.3 kB / 0.5086 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3699, allocations: 112.1 kB / 0.5088 GB, free: 20.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.903e-05/0.3699, allocations: 79.22 kB / 0.5088 GB, free: 20.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3699, allocations: 0 / 0.5088 GB, free: 20.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004673/0.3704, allocations: 151.5 kB / 0.509 GB, free: 20.19 MB / 446.1 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.0006147/0.371, allocations: 344.9 kB / 0.5093 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.531e-05/0.371, allocations: 4 kB / 0.5093 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.371, allocations: 2.562 kB / 0.5093 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.371, allocations: 0 / 0.5093 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.3713, allocations: 462.3 kB / 0.5098 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001054/0.3714, allocations: 154.8 kB / 0.5099 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.566e-05/0.3714, allocations: 55.34 kB / 0.51 GB, free: 19.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.953e-06/0.3714, allocations: 2.594 kB / 0.51 GB, free: 19.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.868e-06/0.3714, allocations: 8.5 kB / 0.51 GB, free: 19.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3714, allocations: 0 / 0.51 GB, free: 19.27 MB / 446.1 MB Notification: Performance of Templates: time 0.006944/0.3784, allocations: 3.449 MB / 0.5133 GB, free: 19.04 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/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.029638442094438]