Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.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.001339/0.001339, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001538/0.001538, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.3257/0.3257, allocations: 44.91 MB / 359.6 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 179] 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 67.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3103, allocations: 65.46 MB / 0.5582 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001637/0.3119, allocations: 0.4956 MB / 0.5587 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007986/0.3199, allocations: 4.947 MB / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.3199, allocations: 0 / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.32, allocations: 0 / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.32, allocations: 0 / 0.5635 GB, free: 2.262 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.008283/0.3282, allocations: 3.27 MB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.3283, allocations: 4 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.3283, allocations: 0 / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.3283, allocations: 4 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.389e-05/0.3284, allocations: 0 / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-06/0.3284, allocations: 0 / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03164/0.36, allocations: 21.05 MB / 0.5873 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.36, allocations: 0 / 0.5873 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.3601, allocations: 3.938 kB / 0.5873 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03622/0.3963, allocations: 27.61 MB / 0.6143 GB, free: 14.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3963, allocations: 0 / 0.6143 GB, free: 14.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3963, allocations: 4 kB / 0.6143 GB, free: 14.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.3963, allocations: 0 / 0.6143 GB, free: 14.25 MB / 462.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.007223/0.4035, allocations: 0.5982 MB / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4036, allocations: 8.031 kB / 0.6149 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.4036, allocations: 12.86 kB / 0.6149 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.899e-05/0.4037, allocations: 105.4 kB / 0.615 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4037, allocations: 0 / 0.615 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4037, allocations: 0 / 0.615 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.4038, allocations: 29.7 kB / 0.615 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4038, allocations: 4 kB / 0.615 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.4038, allocations: 0 / 0.615 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4038, allocations: 0 / 0.615 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.4038, allocations: 7.938 kB / 0.615 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.404, allocations: 124.7 kB / 0.6151 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.404, allocations: 14.58 kB / 0.6151 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.404, allocations: 8.953 kB / 0.6152 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.404, allocations: 4 kB / 0.6152 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.4041, allocations: 60.27 kB / 0.6152 GB, free: 13.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4041, allocations: 0 / 0.6152 GB, free: 13.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.4043, allocations: 71.33 kB / 0.6153 GB, free: 13.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4043, allocations: 77.11 kB / 0.6154 GB, free: 12.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.2e-05/0.4044, allocations: 89.86 kB / 0.6154 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4044, allocations: 25.7 kB / 0.6155 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.4044, allocations: 84.14 kB / 0.6156 GB, free: 12.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.4045, allocations: 4.125 kB / 0.6156 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.4045, allocations: 13.72 kB / 0.6156 GB, free: 12.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4046, allocations: 314.8 kB / 0.6159 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.4046, allocations: 4 kB / 0.6159 GB, free: 12.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.4046, allocations: 0 / 0.6159 GB, free: 12.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.4047, allocations: 64.25 kB / 0.6159 GB, free: 12.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4047, allocations: 0 / 0.6159 GB, free: 12.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.196e-05/0.4048, allocations: 71.41 kB / 0.616 GB, free: 12.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4048, allocations: 29.7 kB / 0.616 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4048, allocations: 0 / 0.616 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4048, allocations: 0 / 0.616 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.4048, allocations: 0 / 0.616 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4048, allocations: 3.984 kB / 0.616 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.4048, allocations: 4 kB / 0.616 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.4049, allocations: 3.938 kB / 0.616 GB, free: 12.2 MB / 462.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 8.964e-05/0.4049, allocations: 135.5 kB / 0.6162 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.405, allocations: 15.91 kB / 0.6162 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-06/0.405, allocations: 3 kB / 0.6162 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.405, allocations: 0 / 0.6162 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.405, allocations: 0 / 0.6162 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.405, allocations: 3.984 kB / 0.6162 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.312e-05/0.4051, allocations: 124.7 kB / 0.6163 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4051, allocations: 0 / 0.6163 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.4051, allocations: 0 / 0.6163 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.4051, allocations: 0 / 0.6163 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.4051, allocations: 0 / 0.6163 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.4051, allocations: 0 / 0.6163 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4051, allocations: 4 kB / 0.6163 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.4052, allocations: 102.7 kB / 0.6164 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.4052, allocations: 3.938 kB / 0.6164 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.4052, allocations: 4 kB / 0.6164 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.4052, allocations: 0 / 0.6164 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.4052, allocations: 0 / 0.6164 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.4052, allocations: 0 / 0.6164 GB, free: 11.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.745e-05/0.4053, allocations: 83.25 kB / 0.6165 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4053, allocations: 0 / 0.6165 GB, free: 11.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01048/0.4157, allocations: 3.787 MB / 0.6202 GB, free: 7.859 MB / 462.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.01865/0.4344, allocations: 0.9797 MB / 0.6212 GB, free: 6.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.4346, allocations: 71.27 kB / 0.6212 GB, free: 6.809 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4346, allocations: 0 / 0.6212 GB, free: 6.809 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.4346, allocations: 59.47 kB / 0.6213 GB, free: 6.738 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.4348, allocations: 6.953 kB / 0.6213 GB, free: 6.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.435, allocations: 98.77 kB / 0.6214 GB, free: 6.605 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.4353, allocations: 0.6768 MB / 0.622 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.4353, allocations: 11.44 kB / 0.6221 GB, free: 5.891 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4353, allocations: 0 / 0.6221 GB, free: 5.891 MB / 462.1 MB Notification: Performance of Templates: time 0.09828/0.5336, allocations: 64.87 MB / 0.6854 GB, free: 4.91 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2/TestMatrices2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.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: 22.92941438802518]