Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.00116/0.00116, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001255/0.001255, allocations: 160.3 kB / 24.91 MB, free: 8.766 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 1.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.422 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.2667/0.2667, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.183e-05, allocations: 7.078 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001108/0.00113, allocations: 0.5454 MB / 326.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.003527, allocations: 2.018 MB / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-06/0.003531, allocations: 0 / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.602e-06/0.003538, allocations: 0 / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.473e-06/0.003539, allocations: 0 / 328.5 MB, free: 4.535 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.00129/0.00483, allocations: 0.549 MB / 329 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 1.888e-05/0.004848, allocations: 4 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.569e-05/0.004874, allocations: 0.75 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.004889, allocations: 0 / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-06/0.004899, allocations: 0 / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.004906, allocations: 0 / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.005936, allocations: 0.8848 MB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-06/0.005943, allocations: 0 / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.068e-05/0.005954, allocations: 0 / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008713/0.006825, allocations: 0.8261 MB / 330.8 MB, free: 2.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006827, allocations: 3.938 kB / 330.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006828, allocations: 0 / 330.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.006832, allocations: 0 / 330.8 MB, free: 2.262 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.0003111/0.007143, allocations: 276 kB / 331 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.007179, allocations: 12.03 kB / 331 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.007215, allocations: 80.22 kB / 331.1 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.973e-05/0.007275, allocations: 177.1 kB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.007309, allocations: 150.9 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.007341, allocations: 158.9 kB / 331.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.569e-05/0.007387, allocations: 101.5 kB / 331.7 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.007406, allocations: 75.47 kB / 331.8 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.007443, allocations: 154.9 kB / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.007479, allocations: 162.4 kB / 332.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.007516, allocations: 154.6 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.007659, allocations: 357.3 kB / 332.6 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.007812, allocations: 169.1 kB / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.007835, allocations: 80.19 kB / 332.8 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.007859, allocations: 79.28 kB / 332.9 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.007904, allocations: 117.8 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.007905, allocations: 0 / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.908e-05/0.007954, allocations: 25.7 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.008005, allocations: 156.4 kB / 333.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.48e-05/0.00803, allocations: 93.8 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.008038, allocations: 29.69 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/0.008059, allocations: 80.14 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.62e-07/0.00806, allocations: 0 / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.008077, allocations: 17.72 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.008145, allocations: 314.8 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.008148, allocations: 0 / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.008167, allocations: 25.7 kB / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.008187, allocations: 79.22 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/0.008207, allocations: 79.28 kB / 333.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.561e-05/0.008242, allocations: 25.7 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.008276, allocations: 79.28 kB / 334 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.008297, allocations: 79.28 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.884e-05/0.008346, allocations: 158.5 kB / 334.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.995e-05/0.008366, allocations: 83.31 kB / 334.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.71e-05/0.008403, allocations: 158.5 kB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.008447, allocations: 75.28 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.008468, allocations: 79.22 kB / 334.6 MB, free: 14.22 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 8.614e-05/0.008554, allocations: 264.4 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.008594, allocations: 104.9 kB / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.008631, allocations: 116 kB / 335.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.316e-05/0.008675, allocations: 180.2 kB / 335.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-05/0.00872, allocations: 184.3 kB / 335.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.353e-05/0.008764, allocations: 180.3 kB / 335.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.008907, allocations: 325.3 kB / 335.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/0.008937, allocations: 109 kB / 336.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.008963, allocations: 104.9 kB / 336.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-05/0.009005, allocations: 176.3 kB / 336.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.009233, allocations: 180.3 kB / 336.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.065e-05/0.009274, allocations: 180.2 kB / 336.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.743e-05/0.009321, allocations: 184.6 kB / 336.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.009424, allocations: 311.7 kB / 337.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.009453, allocations: 104.9 kB / 337.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.009503, allocations: 180.2 kB / 337.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/0.009548, allocations: 105 kB / 337.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.009592, allocations: 184.2 kB / 337.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.009618, allocations: 112.9 kB / 337.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.175e-05/0.00963, allocations: 4.859 kB / 337.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00963, allocations: 0 / 337.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.01006, allocations: 147.6 kB / 338 MB, free: 10.68 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.0005751/0.01064, allocations: 347.2 kB / 338.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.18e-05/0.01068, allocations: 7.938 kB / 338.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01068, allocations: 4 kB / 338.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.01068, allocations: 0 / 338.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.01089, allocations: 463.6 kB / 338.8 MB, free: 9.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00013/0.01102, allocations: 150.8 kB / 338.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.391e-05/0.01105, allocations: 51.36 kB / 339 MB, free: 9.645 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.897e-06/0.01106, allocations: 4 kB / 339 MB, free: 9.641 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.01109, allocations: 51.38 kB / 339 MB, free: 9.59 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01109, allocations: 0 / 339 MB, free: 9.59 MB / 314.7 MB Notification: Performance of Templates: time 0.005673/0.01677, allocations: 3.958 MB / 343 MB, free: 5.645 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.945372560992837]