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.0008576/0.0008576, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002011, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007384/0.0007384, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000974/0.001712, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9232/0.9232, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0807/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2357/0.2357, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.023/0.2587, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.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 1.553e-06/1.553e-06, allocations: 0 / 292.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.698e-05, allocations: 2.969 kB / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001842/0.001869, allocations: 0.5502 MB / 293.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.004812, allocations: 2.032 MB / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-06/0.004816, allocations: 0 / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.017e-06/0.00482, allocations: 0 / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.21e-07/0.004821, allocations: 0 / 295.4 MB, free: 3.637 MB / 282.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.001664/0.006484, allocations: 0.5334 MB / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.267e-05/0.006507, allocations: 4 kB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.397e-05/0.006531, allocations: 0 / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.349e-05/0.006554, allocations: 3.984 kB / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.148e-05/0.006566, allocations: 0 / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.006573, allocations: 0 / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.007952, allocations: 0.8371 MB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.007964, allocations: 3.938 kB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.117e-05/0.007975, allocations: 0 / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009465/0.008921, allocations: 0.6625 MB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.008932, allocations: 4 kB / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.008933, allocations: 0 / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.008944, allocations: 0 / 297.4 MB, free: 1.586 MB / 282.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.0004381/0.009382, allocations: 315.9 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.00942, allocations: 8.031 kB / 297.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.009477, allocations: 76.22 kB / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.971e-05/0.009567, allocations: 189.1 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.009614, allocations: 150.9 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.009661, allocations: 158.9 kB / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.482e-05/0.009716, allocations: 101.5 kB / 298.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.009743, allocations: 79.47 kB / 298.5 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.734e-05/0.00979, allocations: 150.9 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.009838, allocations: 154.5 kB / 298.8 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.009882, allocations: 150.6 kB / 298.9 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.0101, allocations: 357.3 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.587e-05/0.01017, allocations: 173.1 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.0102, allocations: 88.14 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.01023, allocations: 75.28 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.01027, allocations: 105.8 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.01027, allocations: 0 / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.409e-05/0.01034, allocations: 29.7 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.0104, allocations: 134.6 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.396e-05/0.01043, allocations: 89.86 kB / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.01044, allocations: 25.7 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.01047, allocations: 80.14 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/0.01047, allocations: 0 / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.01049, allocations: 13.72 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.01059, allocations: 322.8 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.0106, allocations: 0 / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.01063, allocations: 29.7 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.01065, allocations: 75.28 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.801e-05/0.01068, allocations: 75.28 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.189e-05/0.01073, allocations: 33.64 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.01076, allocations: 79.28 kB / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.01079, allocations: 83.2 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.433e-05/0.01084, allocations: 158.6 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.374e-05/0.01087, allocations: 79.22 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-05/0.01091, allocations: 154.6 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.01098, allocations: 79.28 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.011, allocations: 87.16 kB / 301.3 MB, free: 13.54 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.733e-05/0.0111, allocations: 256.4 kB / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.01115, allocations: 113 kB / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.0112, allocations: 107.9 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.237e-05/0.01125, allocations: 180.3 kB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-05/0.01131, allocations: 184.4 kB / 302.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.207e-05/0.01137, allocations: 180.3 kB / 302.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.01154, allocations: 321.4 kB / 302.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/0.01157, allocations: 108.9 kB / 302.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.0116, allocations: 101 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.01164, allocations: 108.9 kB / 302.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.584e-05/0.0117, allocations: 176.3 kB / 303.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/0.01176, allocations: 192.2 kB / 303.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-05/0.01181, allocations: 180.2 kB / 303.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.373e-05/0.01188, allocations: 176.3 kB / 303.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.01201, allocations: 307.7 kB / 304 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.01206, allocations: 180.3 kB / 304.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.01214, allocations: 104.9 kB / 304.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.0122, allocations: 184.3 kB / 304.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.01224, allocations: 108.9 kB / 304.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.664e-05/0.01225, allocations: 4.859 kB / 304.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01225, allocations: 0 / 304.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006818/0.01294, allocations: 155.6 kB / 304.7 MB, free: 10 MB / 298.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.0008859/0.01382, allocations: 395.4 kB / 305.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.285e-05/0.01387, allocations: 4 kB / 305.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.01388, allocations: 0 / 305.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.287e-06/0.01388, allocations: 0 / 305.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.01414, allocations: 459.6 kB / 305.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.01431, allocations: 154 kB / 305.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.01435, allocations: 59.28 kB / 305.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.312e-05/0.01436, allocations: 0 / 305.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.0144, allocations: 55.38 kB / 305.8 MB, free: 8.863 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.0144, allocations: 0 / 305.8 MB, free: 8.863 MB / 298.7 MB Notification: Performance of Templates: time 0.008228/0.02263, allocations: 3.978 MB / 309.8 MB, free: 4.891 MB / 298.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.798612605780363]