Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.001331/0.001331, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001436/0.001436, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2278/0.2278, allocations: 46.97 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 71.89 kB / 0.4973 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3613, allocations: 66.02 MB / 0.5618 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001588/0.3629, allocations: 0.4943 MB / 0.5623 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3645, allocations: 1.549 MB / 0.5638 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.3645, allocations: 0 / 0.5638 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.3646, allocations: 1.156 kB / 0.5638 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.3646, allocations: 0 / 0.5638 GB, free: 32.27 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0008303/0.3654, allocations: 295.5 kB / 0.5641 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.3654, allocations: 11.94 kB / 0.5641 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.3655, allocations: 6.438 kB / 0.5641 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.3655, allocations: 0 / 0.5641 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.3655, allocations: 2.469 kB / 0.5641 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.3655, allocations: 0 / 0.5641 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005253/0.3661, allocations: 437.5 kB / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-06/0.3661, allocations: 0 / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.872e-05/0.3661, allocations: 0 / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.3665, allocations: 298.5 kB / 0.5648 GB, free: 32.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3665, allocations: 0.7031 kB / 0.5648 GB, free: 32.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3665, allocations: 0 / 0.5648 GB, free: 32.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3665, allocations: 3.094 kB / 0.5648 GB, free: 32.02 MB / 446.1 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.0003312/0.3668, allocations: 305 kB / 0.5651 GB, free: 31.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3668, allocations: 10.53 kB / 0.5651 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.3669, allocations: 0.9375 kB / 0.5651 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.582e-05/0.3669, allocations: 107.3 kB / 0.5652 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.3669, allocations: 0.9062 kB / 0.5652 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3669, allocations: 3.922 kB / 0.5652 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/0.367, allocations: 63.25 kB / 0.5653 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.367, allocations: 0 / 0.5653 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.367, allocations: 0 / 0.5653 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.367, allocations: 0 / 0.5653 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.3671, allocations: 28.7 kB / 0.5653 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.887e-05/0.3672, allocations: 99.88 kB / 0.5654 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.888e-05/0.3672, allocations: 49.31 kB / 0.5654 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.3672, allocations: 34.31 kB / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.3672, allocations: 0 / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3673, allocations: 56.92 kB / 0.5655 GB, free: 31.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3673, allocations: 0 / 0.5655 GB, free: 31.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.3674, allocations: 123.3 kB / 0.5656 GB, free: 31.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.3674, allocations: 82.17 kB / 0.5657 GB, free: 30.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.1e-05/0.3675, allocations: 98.31 kB / 0.5658 GB, free: 30.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-06/0.3675, allocations: 25.7 kB / 0.5658 GB, free: 30.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.072e-05/0.3675, allocations: 80.14 kB / 0.5659 GB, free: 30.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3675, allocations: 0.6562 kB / 0.5659 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.3675, allocations: 17.88 kB / 0.5659 GB, free: 30.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.3676, allocations: 311.7 kB / 0.5662 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.3676, allocations: 29.7 kB / 0.5662 GB, free: 30.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.3676, allocations: 26.33 kB / 0.5663 GB, free: 30.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/0.3676, allocations: 61.45 kB / 0.5663 GB, free: 30.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3676, allocations: 4.688 kB / 0.5663 GB, free: 30.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.529e-05/0.3677, allocations: 91.92 kB / 0.5664 GB, free: 30.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3677, allocations: 33.11 kB / 0.5665 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3677, allocations: 3.078 kB / 0.5665 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3677, allocations: 3.938 kB / 0.5665 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3677, allocations: 3.938 kB / 0.5665 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3677, allocations: 0.7031 kB / 0.5665 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.3677, allocations: 11.03 kB / 0.5665 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3678, allocations: 0 / 0.5665 GB, free: 30.13 MB / 446.1 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 4.677e-05/0.3678, allocations: 136.5 kB / 0.5666 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.3678, allocations: 4.641 kB / 0.5666 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-06/0.3678, allocations: 7.906 kB / 0.5666 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3678, allocations: 0.6094 kB / 0.5666 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3678, allocations: 0 / 0.5666 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3678, allocations: 6.594 kB / 0.5666 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.94e-05/0.3679, allocations: 99.3 kB / 0.5667 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3679, allocations: 0 / 0.5667 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3679, allocations: 0 / 0.5667 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.3679, allocations: 3 kB / 0.5667 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3679, allocations: 0.6562 kB / 0.5667 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3679, allocations: 3.938 kB / 0.5667 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3679, allocations: 0 / 0.5667 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.904e-05/0.3679, allocations: 120.2 kB / 0.5668 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-06/0.3679, allocations: 8.344 kB / 0.5669 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.368, allocations: 0.75 kB / 0.5669 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.368, allocations: 5.562 kB / 0.5669 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.368, allocations: 0.6562 kB / 0.5669 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.368, allocations: 3.031 kB / 0.5669 GB, free: 29.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.191e-05/0.368, allocations: 75.28 kB / 0.5669 GB, free: 29.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-08/0.368, allocations: 3.562 kB / 0.5669 GB, free: 29.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.3683, allocations: 63.84 kB / 0.567 GB, free: 29.62 MB / 446.1 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.0004126/0.3687, allocations: 197.5 kB / 0.5672 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.505e-05/0.3688, allocations: 109 kB / 0.5673 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3688, allocations: 3.062 kB / 0.5673 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.14e-05/0.3689, allocations: 83.95 kB / 0.5674 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.369, allocations: 4 kB / 0.5674 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/0.3691, allocations: 114.4 kB / 0.5675 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.533e-05/0.3692, allocations: 58.77 kB / 0.5675 GB, free: 29.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.571e-06/0.3692, allocations: 7.531 kB / 0.5675 GB, free: 29.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.01e-05/0.3692, allocations: 7.438 kB / 0.5676 GB, free: 29.05 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3692, allocations: 0 / 0.5676 GB, free: 29.05 MB / 446.1 MB Notification: Performance of Templates: time 0.00361/0.3728, allocations: 1.286 MB / 0.5688 GB, free: 28.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.885230913001578]