Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007329/0.0007329, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001129/0.001862, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000647/0.000647, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008609/0.001508, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8715/0.8715, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1666/1.038, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1588/0.1588, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0211/0.1799, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.431e-05, allocations: 6.25 kB / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.000967/0.0009813, allocations: 0.554 MB / 286.4 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002307, allocations: 1.567 MB / 288 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.212e-05/0.002319, allocations: 0 / 288 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.148e-06/0.002323, allocations: 0 / 288 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.31e-07/0.002324, allocations: 0 / 288 MB, free: 6.289 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.002978, allocations: 317 kB / 288.3 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.246e-05/0.00302, allocations: 4 kB / 288.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.752e-05/0.003048, allocations: 0 / 288.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.00308, allocations: 0 / 288.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.852e-05/0.003098, allocations: 4 kB / 288.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-06/0.003104, allocations: 0 / 288.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.003542, allocations: 383.1 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.003552, allocations: 0 / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.172e-05/0.003564, allocations: 8 kB / 288.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.003824, allocations: 259.3 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.003834, allocations: 0 / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003835, allocations: 0 / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.003843, allocations: 0 / 288.9 MB, free: 5.336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002432/0.004086, allocations: 286.1 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.524e-05/0.004111, allocations: 8.031 kB / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.004135, allocations: 0.9375 kB / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.137e-05/0.004186, allocations: 109.8 kB / 289.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.004194, allocations: 384 / 289.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.004202, allocations: 384 / 289.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.489e-05/0.004257, allocations: 63.91 kB / 289.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-06/0.004262, allocations: 192 / 289.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-06/0.004266, allocations: 384 / 289.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004271, allocations: 7.922 kB / 289.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.004287, allocations: 37.69 kB / 289.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.03e-05/0.004337, allocations: 53.05 kB / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.004373, allocations: 44.31 kB / 289.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.004387, allocations: 34.62 kB / 289.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-06/0.00439, allocations: 0 / 289.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.004419, allocations: 60.2 kB / 289.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.51e-07/0.00442, allocations: 4 kB / 289.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.983e-05/0.00452, allocations: 114.8 kB / 289.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.004567, allocations: 158.2 kB / 289.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.117e-05/0.004598, allocations: 89.86 kB / 290 MB, free: 4.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.004607, allocations: 29.7 kB / 290 MB, free: 4.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.885e-05/0.004626, allocations: 88.06 kB / 290.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.004644, allocations: 0 / 290.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.004665, allocations: 13.72 kB / 290.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.00473, allocations: 314.8 kB / 290.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.004742, allocations: 25.7 kB / 290.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.141e-05/0.004753, allocations: 33.83 kB / 290.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.00479, allocations: 68.19 kB / 290.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004792, allocations: 0 / 290.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.648e-05/0.004838, allocations: 81.11 kB / 290.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.004869, allocations: 33.7 kB / 290.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.004874, allocations: 4 kB / 290.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.004883, allocations: 0 / 290.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.004884, allocations: 0 / 290.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.004888, allocations: 3.984 kB / 290.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.0049, allocations: 4.094 kB / 290.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.004908, allocations: 7.922 kB / 290.7 MB, free: 3.32 MB / 282.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.794e-05/0.004966, allocations: 143.5 kB / 290.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-06/0.00497, allocations: 0 / 290.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-06/0.004979, allocations: 7 kB / 290.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.00498, allocations: 0 / 290.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004981, allocations: 0 / 290.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.004983, allocations: 3.938 kB / 290.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.065e-05/0.005024, allocations: 73.77 kB / 290.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005025, allocations: 0 / 290.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.005025, allocations: 8 kB / 290.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-06/0.005028, allocations: 0 / 290.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.005029, allocations: 0 / 290.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.005032, allocations: 0 / 290.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005033, allocations: 0 / 290.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005033, allocations: 0 / 290.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.703e-05/0.00509, allocations: 116.5 kB / 291 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.005099, allocations: 0 / 291 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-06/0.005104, allocations: 0 / 291 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-06/0.005112, allocations: 4 kB / 291 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.005114, allocations: 0 / 291 MB, free: 2.902 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.352e-06/0.00512, allocations: 8.891 kB / 291 MB, free: 2.891 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00512, allocations: 3.938 kB / 291 MB, free: 2.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000185/0.005305, allocations: 67.8 kB / 291.1 MB, free: 2.82 MB / 282.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003658/0.005671, allocations: 206.3 kB / 291.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.999e-05/0.005751, allocations: 111.7 kB / 291.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.005754, allocations: 4 kB / 291.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.005785, allocations: 89.95 kB / 291.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.745e-05/0.005832, allocations: 7.938 kB / 291.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000142/0.005974, allocations: 112.2 kB / 291.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.555e-05/0.006, allocations: 55.36 kB / 291.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.059e-06/0.006005, allocations: 0 / 291.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.006035, allocations: 51.38 kB / 291.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006036, allocations: 4 kB / 291.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Templates: time 0.00259/0.008626, allocations: 1.543 MB / 293.2 MB, free: 0.5586 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.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.653584223240614]