Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009467/0.0009467, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001003/0.001003, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2453/0.2453, allocations: 32.8 MB / 294.6 MB, free: 1.258 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.409e-05, allocations: 8.984 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001686/0.00171, allocations: 0.5451 MB / 323.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.004864, allocations: 2.012 MB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-06/0.004869, allocations: 0 / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.797e-06/0.004878, allocations: 4 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.733e-06/0.00488, allocations: 3.938 kB / 325.8 MB, free: 7.105 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.001676/0.006556, allocations: 0.5451 MB / 326.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.221e-05/0.006578, allocations: 0 / 326.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.024e-05/0.006608, allocations: 3.984 kB / 326.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.006624, allocations: 4 kB / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.172e-05/0.006636, allocations: 0 / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.006644, allocations: 0 / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.008237, allocations: 0.8809 MB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.008245, allocations: 0 / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.00826, allocations: 0.625 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.009352, allocations: 0.8221 MB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.009355, allocations: 0 / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.009357, allocations: 0 / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.009361, allocations: 8 kB / 328.1 MB, free: 4.836 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.0003416/0.009703, allocations: 284 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.009745, allocations: 8.031 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.009794, allocations: 80.2 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.009873, allocations: 181.1 kB / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.009918, allocations: 150.9 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.009958, allocations: 150.9 kB / 328.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.695e-05/0.01002, allocations: 101.5 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.01004, allocations: 79.47 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.0101, allocations: 150.9 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/0.01015, allocations: 162.4 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/0.0102, allocations: 154.6 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.0104, allocations: 361.3 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.01047, allocations: 165.1 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.0105, allocations: 84.19 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.01053, allocations: 79.28 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.01057, allocations: 113.7 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.01057, allocations: 0 / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.433e-05/0.01063, allocations: 29.7 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.01069, allocations: 152.4 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.91e-05/0.01072, allocations: 89.86 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.01073, allocations: 29.7 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.01076, allocations: 84.14 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-07/0.01076, allocations: 0 / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.01079, allocations: 17.7 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.01087, allocations: 318.8 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.01087, allocations: 0 / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.0109, allocations: 25.7 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.01092, allocations: 83.22 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/0.01094, allocations: 75.28 kB / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.092e-05/0.011, allocations: 25.7 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.01103, allocations: 87.31 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.01105, allocations: 75.28 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.632e-05/0.01111, allocations: 154.5 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.363e-05/0.01113, allocations: 79.28 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-05/0.01117, allocations: 154.5 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.01124, allocations: 79.27 kB / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.01126, allocations: 87.22 kB / 331.9 MB, free: 0.7891 MB / 298.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 9.506e-05/0.01136, allocations: 256.4 kB / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.01141, allocations: 108.9 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.01145, allocations: 104 kB / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/0.0115, allocations: 188.2 kB / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.377e-05/0.01156, allocations: 180.3 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.121e-05/0.01162, allocations: 176.3 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.01178, allocations: 325.3 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/0.0118, allocations: 101 kB / 333.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.01184, allocations: 112.9 kB / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.225e-05/0.01189, allocations: 180.3 kB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.01194, allocations: 180.3 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.082e-05/0.01199, allocations: 184.5 kB / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002206/0.01221, allocations: 180.3 kB / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.01234, allocations: 319.7 kB / 334.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.01237, allocations: 112.9 kB / 334.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.01242, allocations: 180.3 kB / 334.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.01249, allocations: 101 kB / 334.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.01255, allocations: 188.2 kB / 335 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.01258, allocations: 101 kB / 335.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.319e-05/0.01259, allocations: 4.859 kB / 335.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01259, allocations: 0 / 335.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006391/0.01323, allocations: 147.6 kB / 335.3 MB, free: 13.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.0007358/0.01396, allocations: 348.9 kB / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.235e-05/0.01402, allocations: 7.938 kB / 335.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01402, allocations: 0 / 335.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.01402, allocations: 0 / 335.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.01426, allocations: 467.6 kB / 336.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.01441, allocations: 159 kB / 336.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.01445, allocations: 55.36 kB / 336.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.006e-05/0.01446, allocations: 0 / 336.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.01449, allocations: 51.38 kB / 336.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01449, allocations: 0 / 336.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of Templates: time 0.00752/0.02201, allocations: 3.957 MB / 340.3 MB, free: 8.211 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.97033006278798]