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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009152/0.0009154, allocations: 107.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2967/0.2967, allocations: 44.14 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009658/0.0009659, allocations: 47.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2996, allocations: 60.8 MB / 0.5064 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001529/0.3012, allocations: 0.5462 MB / 0.5069 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.303, allocations: 1.563 MB / 0.5084 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.134e-05/0.303, allocations: 0 / 0.5084 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.303, allocations: 0 / 0.5084 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.3031, allocations: 0 / 0.5084 GB, free: 37.04 MB / 378.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.0009294/0.304, allocations: 251.9 kB / 0.5087 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.278e-05/0.304, allocations: 1.25 kB / 0.5087 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.3041, allocations: 1 kB / 0.5087 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.769e-05/0.3041, allocations: 1 kB / 0.5087 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.049e-05/0.3041, allocations: 7.922 kB / 0.5087 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.3042, allocations: 1.406 kB / 0.5087 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.3049, allocations: 478.9 kB / 0.5092 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.3049, allocations: 10.92 kB / 0.5092 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.3049, allocations: 0 / 0.5092 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.3054, allocations: 306 kB / 0.5095 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3055, allocations: 0 / 0.5095 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3055, allocations: 0 / 0.5095 GB, free: 36.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3055, allocations: 0 / 0.5095 GB, free: 36.79 MB / 378.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.0003207/0.3058, allocations: 375.9 kB / 0.5098 GB, free: 36.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3059, allocations: 8.406 kB / 0.5098 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.3059, allocations: 0.9375 kB / 0.5098 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.607e-05/0.306, allocations: 163.7 kB / 0.51 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.306, allocations: 11.41 kB / 0.51 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.306, allocations: 384 / 0.51 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.3061, allocations: 36.77 kB / 0.51 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3061, allocations: 0 / 0.51 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3061, allocations: 0 / 0.51 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.3062, allocations: 0 / 0.51 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.3062, allocations: 3.906 kB / 0.51 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.993e-05/0.3063, allocations: 145 kB / 0.5102 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.506e-05/0.3063, allocations: 22.58 kB / 0.5102 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.3064, allocations: 11.86 kB / 0.5102 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.3064, allocations: 0 / 0.5102 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3065, allocations: 60.2 kB / 0.5103 GB, free: 35.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.3065, allocations: 0 / 0.5103 GB, free: 35.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.3066, allocations: 62.69 kB / 0.5103 GB, free: 35.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.3067, allocations: 83.8 kB / 0.5104 GB, free: 35.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.357e-05/0.3067, allocations: 93.98 kB / 0.5105 GB, free: 35.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.3067, allocations: 25.7 kB / 0.5105 GB, free: 35.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.184e-05/0.3068, allocations: 80.14 kB / 0.5106 GB, free: 35.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.3068, allocations: 0 / 0.5106 GB, free: 35.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.3068, allocations: 16.53 kB / 0.5106 GB, free: 35.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.3069, allocations: 314.2 kB / 0.5109 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.3069, allocations: 2.906 kB / 0.5109 GB, free: 35.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-06/0.3069, allocations: 3.938 kB / 0.5109 GB, free: 35.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.307, allocations: 70.98 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.307, allocations: 0 / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.394e-05/0.3071, allocations: 66.59 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3071, allocations: 34.86 kB / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3072, allocations: 0 / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3072, allocations: 0 / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.3072, allocations: 2.625 kB / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3072, allocations: 3.984 kB / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.3072, allocations: 0 / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3073, allocations: 0 / 0.5111 GB, free: 34.94 MB / 378.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 6.157e-05/0.3073, allocations: 141.7 kB / 0.5112 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.3074, allocations: 19.12 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.194e-05/0.3074, allocations: 3.125 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3074, allocations: 3.938 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3074, allocations: 0 / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3074, allocations: 0 / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.324e-05/0.3075, allocations: 145.1 kB / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3075, allocations: 3.844 kB / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.3075, allocations: 0 / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3075, allocations: 7.938 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3076, allocations: 0 / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3076, allocations: 0 / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3076, allocations: 0 / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3078, allocations: 0.6372 MB / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.3078, allocations: 77.11 kB / 0.5121 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.3079, allocations: 4.031 kB / 0.5121 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.3079, allocations: 2.531 kB / 0.5121 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.3079, allocations: 0 / 0.5121 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3079, allocations: 0 / 0.5121 GB, free: 33.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.267e-05/0.308, allocations: 79.33 kB / 0.5122 GB, free: 33.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.308, allocations: 0 / 0.5122 GB, free: 33.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006757/0.3087, allocations: 63.94 kB / 0.5122 GB, free: 33.7 MB / 378.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.0005504/0.3092, allocations: 192.4 kB / 0.5124 GB, free: 33.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.049e-05/0.3093, allocations: 67.8 kB / 0.5125 GB, free: 33.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3094, allocations: 3.938 kB / 0.5125 GB, free: 33.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.3094, allocations: 56.62 kB / 0.5125 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.3096, allocations: 6.047 kB / 0.5125 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.3098, allocations: 188.3 kB / 0.5127 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.31, allocations: 0.6717 MB / 0.5134 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.792e-06/0.31, allocations: 0 / 0.5134 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-06/0.31, allocations: 7.438 kB / 0.5134 GB, free: 32.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.31, allocations: 0 / 0.5134 GB, free: 32.54 MB / 378.7 MB Notification: Performance of Templates: time 0.005137/0.3152, allocations: 1.276 MB / 0.5146 GB, free: 32.42 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches