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.000935/0.000935, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.001016/0.001016, allocations: 174.3 kB / 24.91 MB, free: 9.156 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 1.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2605/0.2605, allocations: 34.25 MB / 296.1 MB, free: 0.7188 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 2.986e-06/2.986e-06, allocations: 4 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.923e-05, allocations: 3.016 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001627/0.001656, allocations: 0.5435 MB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.004115, allocations: 2.027 MB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-06/0.00412, allocations: 0 / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.752e-06/0.004127, allocations: 0 / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.383e-06/0.004128, allocations: 0 / 327.8 MB, free: 5.094 MB / 298.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.001402/0.00553, allocations: 0.5373 MB / 328.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.154e-05/0.005552, allocations: 8.625 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.005585, allocations: 7.922 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.005609, allocations: 0 / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.708e-05/0.005626, allocations: 0 / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.005635, allocations: 0 / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.006792, allocations: 0.877 MB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.006802, allocations: 3.984 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.349e-05/0.006815, allocations: 0 / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008326/0.007648, allocations: 0.8183 MB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.007653, allocations: 4 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007655, allocations: 0 / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.00766, allocations: 0 / 330.1 MB, free: 2.832 MB / 298.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.0002896/0.007949, allocations: 283.9 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.007995, allocations: 12.03 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.008037, allocations: 80.16 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.137e-05/0.008098, allocations: 185 kB / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.008132, allocations: 150.9 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.008164, allocations: 154.9 kB / 330.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.595e-05/0.00821, allocations: 101.5 kB / 331 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.008227, allocations: 75.47 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.008262, allocations: 154.9 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.00831, allocations: 158.5 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.008346, allocations: 158.5 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.008491, allocations: 357.3 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.39e-05/0.008555, allocations: 165.1 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.008577, allocations: 84.17 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.008597, allocations: 79.28 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.008631, allocations: 109.8 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.008632, allocations: 0 / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.442e-05/0.008686, allocations: 33.62 kB / 332.4 MB, free: 440 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.008737, allocations: 160.4 kB / 332.5 MB, free: 260 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.163e-05/0.008759, allocations: 89.86 kB / 332.6 MB, free: 160 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.008768, allocations: 25.7 kB / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.008787, allocations: 80.14 kB / 332.7 MB, free: 44 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.91e-07/0.008788, allocations: 0 / 332.7 MB, free: 44 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.008805, allocations: 13.72 kB / 332.7 MB, free: 24 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.008887, allocations: 318.8 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-06/0.00889, allocations: 3.938 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.008912, allocations: 25.7 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.008954, allocations: 75.28 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/0.008972, allocations: 79.28 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.876e-05/0.009011, allocations: 37.66 kB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.009036, allocations: 79.28 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.009053, allocations: 79.28 kB / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.032e-05/0.009093, allocations: 154.5 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.835e-05/0.009111, allocations: 75.28 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.414e-05/0.009146, allocations: 154.6 kB / 333.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.009189, allocations: 79.22 kB / 333.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.009208, allocations: 79.22 kB / 334 MB, free: 14.78 MB / 314.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 7.921e-05/0.009287, allocations: 268.4 kB / 334.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.009322, allocations: 104.9 kB / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.009354, allocations: 116 kB / 334.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/0.009399, allocations: 176.3 kB / 334.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.162e-05/0.00944, allocations: 180.2 kB / 334.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.303e-05/0.009483, allocations: 184.2 kB / 335 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.009609, allocations: 321.8 kB / 335.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/0.009633, allocations: 105 kB / 335.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.009659, allocations: 109 kB / 335.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.029e-05/0.0097, allocations: 180.2 kB / 335.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.009744, allocations: 184.2 kB / 335.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.535e-05/0.009789, allocations: 180.5 kB / 336 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.918e-05/0.009848, allocations: 176.3 kB / 336.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.009982, allocations: 315.7 kB / 336.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.01001, allocations: 109 kB / 336.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.01006, allocations: 180.2 kB / 336.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01018, allocations: 105 kB / 336.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.01023, allocations: 180.2 kB / 337.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.01026, allocations: 105 kB / 337.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.672e-05/0.01028, allocations: 4.859 kB / 337.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01028, allocations: 0 / 337.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004713/0.01075, allocations: 151.6 kB / 337.3 MB, free: 11.25 MB / 314.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.0005933/0.01134, allocations: 352.5 kB / 337.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.049e-05/0.01138, allocations: 4 kB / 337.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01138, allocations: 0 / 337.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.01139, allocations: 7.938 kB / 337.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.01156, allocations: 459.6 kB / 338.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000131/0.01169, allocations: 154.5 kB / 338.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.058e-05/0.01172, allocations: 51.36 kB / 338.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.046e-05/0.01173, allocations: 3.984 kB / 338.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.01176, allocations: 51.38 kB / 338.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01176, allocations: 0 / 338.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of Templates: time 0.005492/0.01725, allocations: 3.956 MB / 342.3 MB, free: 6.203 MB / 314.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.971896559931338]