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.001233/0.001233, allocations: 88.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.001482/0.001482, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 0.9265/0.9265, allocations: 177 MB / 205.2 MB, free: 5.07 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.2738/0.2738, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 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.122e-06/1.122e-06, allocations: 0 / 325.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.648e-06/1.077e-05, allocations: 5.406 kB / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008389/0.0008497, allocations: 0.4967 MB / 326.4 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.003132, allocations: 2.013 MB / 328.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-06/0.003136, allocations: 4 kB / 328.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.241e-06/0.003142, allocations: 4 kB / 328.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.32e-07/0.003143, allocations: 0 / 328.4 MB, free: 4.668 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.001218/0.004361, allocations: 0.5568 MB / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 1.674e-05/0.004377, allocations: 0 / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.229e-05/0.0044, allocations: 11.97 kB / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.007e-05/0.00441, allocations: 0 / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-06/0.004417, allocations: 0 / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-06/0.004423, allocations: 0 / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009167/0.00534, allocations: 0.8613 MB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-06/0.005346, allocations: 0 / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.757e-06/0.005355, allocations: 4 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007285/0.006083, allocations: 0.8183 MB / 330.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.006085, allocations: 0 / 330.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006085, allocations: 4 kB / 330.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.006089, allocations: 0 / 330.7 MB, free: 2.406 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.0002755/0.006364, allocations: 284.7 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.006393, allocations: 8.031 kB / 330.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.006428, allocations: 80.22 kB / 331 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.865e-05/0.006487, allocations: 185 kB / 331.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.006522, allocations: 154.9 kB / 331.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.006555, allocations: 150.9 kB / 331.5 MB, free: 1.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.366e-05/0.006599, allocations: 105.5 kB / 331.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.006617, allocations: 75.47 kB / 331.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.006657, allocations: 154.9 kB / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.006694, allocations: 158.5 kB / 332 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.006995, allocations: 158.6 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.007136, allocations: 353.3 kB / 332.5 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.007208, allocations: 169.1 kB / 332.7 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.007231, allocations: 84.17 kB / 332.7 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.007253, allocations: 83.22 kB / 332.8 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.007288, allocations: 109.8 kB / 332.9 MB, free: 40 kB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.007288, allocations: 0 / 332.9 MB, free: 40 kB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.525e-05/0.007334, allocations: 29.69 kB / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.007392, allocations: 152.4 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.614e-05/0.007418, allocations: 93.86 kB / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.007425, allocations: 25.7 kB / 333.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.007449, allocations: 84.14 kB / 333.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-07/0.007449, allocations: 0 / 333.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.007465, allocations: 13.7 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.007537, allocations: 318.8 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-06/0.007539, allocations: 0 / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.007562, allocations: 33.64 kB / 333.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.705e-05/0.007579, allocations: 75.28 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.007594, allocations: 75.28 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.939e-05/0.007623, allocations: 29.7 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.007646, allocations: 87.3 kB / 333.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.007663, allocations: 79.22 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.0077, allocations: 158.5 kB / 334.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.701e-05/0.007717, allocations: 75.28 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.142e-05/0.007749, allocations: 154.5 kB / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.007787, allocations: 79.28 kB / 334.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.007804, allocations: 79.22 kB / 334.5 MB, free: 14.35 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.557e-05/0.00788, allocations: 272.3 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.007913, allocations: 101 kB / 334.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.00794, allocations: 104 kB / 335 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/0.007982, allocations: 188.2 kB / 335.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-05/0.008019, allocations: 176.3 kB / 335.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-05/0.008058, allocations: 180.2 kB / 335.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.008185, allocations: 321.4 kB / 335.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-05/0.008211, allocations: 105 kB / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.008236, allocations: 112.9 kB / 336.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-05/0.008278, allocations: 176.3 kB / 336.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.008319, allocations: 184.2 kB / 336.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.861e-05/0.008358, allocations: 184.2 kB / 336.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.94e-05/0.008397, allocations: 176.6 kB / 336.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.585e-05/0.008493, allocations: 307.7 kB / 337.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.008537, allocations: 116.9 kB / 337.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.008603, allocations: 184.3 kB / 337.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.008671, allocations: 105 kB / 337.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.008727, allocations: 180.2 kB / 337.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.00876, allocations: 101 kB / 337.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.104e-05/0.008772, allocations: 4.859 kB / 337.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008772, allocations: 0 / 337.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.00914, allocations: 155.6 kB / 337.9 MB, free: 10.82 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.0004641/0.009604, allocations: 344.7 kB / 338.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.147e-05/0.009636, allocations: 3.938 kB / 338.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.009638, allocations: 0 / 338.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.009639, allocations: 0 / 338.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.009801, allocations: 464.9 kB / 338.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001025/0.009903, allocations: 162.8 kB / 338.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.675e-05/0.00993, allocations: 51.36 kB / 338.9 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.881e-06/0.009936, allocations: 0 / 338.9 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.00996, allocations: 55.36 kB / 338.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009961, allocations: 0 / 338.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of Templates: time 0.005252/0.01521, allocations: 3.951 MB / 342.9 MB, free: 5.777 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 -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.91867216816172]