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.001385/0.001385, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001582/0.001582, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.549/1.549, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2307/0.2307, allocations: 44.93 MB / 359.6 MB, free: 6.152 MB / 286.1 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.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.002145/0.002145, allocations: 67.91 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3448, allocations: 65.48 MB / 0.5582 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001802/0.3466, allocations: 0.4911 MB / 0.5587 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008443/0.3551, allocations: 4.578 MB / 0.5631 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.3551, allocations: 0 / 0.5631 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.3551, allocations: 0 / 0.5631 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.3551, allocations: 0 / 0.5631 GB, free: 2.254 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.008816/0.3639, allocations: 3.255 MB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.364, allocations: 3.984 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.3641, allocations: 0 / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.3641, allocations: 4 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.26e-05/0.3641, allocations: 11.98 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.642e-06/0.3641, allocations: 0 / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03213/0.3962, allocations: 19.79 MB / 0.5856 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.3963, allocations: 3.938 kB / 0.5857 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.3963, allocations: 0 / 0.5857 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04028/0.4366, allocations: 26.13 MB / 0.6112 GB, free: 1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4366, allocations: 0 / 0.6112 GB, free: 1 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4366, allocations: 0 / 0.6112 GB, free: 1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4366, allocations: 0 / 0.6112 GB, free: 1 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.00831/0.4449, allocations: 0.5983 MB / 0.6118 GB, free: 372 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.445, allocations: 12.03 kB / 0.6118 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.445, allocations: 0.9375 kB / 0.6118 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.4451, allocations: 109.3 kB / 0.6119 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4451, allocations: 0 / 0.6119 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.4452, allocations: 4 kB / 0.6119 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.4453, allocations: 55.39 kB / 0.6119 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4453, allocations: 0 / 0.6119 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4453, allocations: 3.938 kB / 0.6119 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4453, allocations: 7.938 kB / 0.6119 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.4453, allocations: 29.7 kB / 0.612 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.4455, allocations: 101.5 kB / 0.6121 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.4456, allocations: 52.23 kB / 0.6121 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.4456, allocations: 30.56 kB / 0.6121 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.4456, allocations: 4.062 kB / 0.6121 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/0.4457, allocations: 60.27 kB / 0.6122 GB, free: 15.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4457, allocations: 0 / 0.6122 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002394/0.4459, allocations: 122.8 kB / 0.6123 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.446, allocations: 77.11 kB / 0.6124 GB, free: 15.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.4461, allocations: 89.86 kB / 0.6125 GB, free: 15.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4461, allocations: 37.77 kB / 0.6125 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.4461, allocations: 80.14 kB / 0.6126 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.4462, allocations: 0 / 0.6126 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.4462, allocations: 13.72 kB / 0.6126 GB, free: 15.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4464, allocations: 318.8 kB / 0.6129 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.4464, allocations: 25.7 kB / 0.6129 GB, free: 14.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.4464, allocations: 29.69 kB / 0.613 GB, free: 14.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.669e-05/0.4465, allocations: 60.27 kB / 0.613 GB, free: 14.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4465, allocations: 0 / 0.613 GB, free: 14.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.475e-05/0.4466, allocations: 93.17 kB / 0.6131 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.4466, allocations: 37.69 kB / 0.6131 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4466, allocations: 0 / 0.6131 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4466, allocations: 0 / 0.6131 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-06/0.4466, allocations: 3.938 kB / 0.6131 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4466, allocations: 0 / 0.6131 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.4467, allocations: 0 / 0.6131 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.4467, allocations: 0 / 0.6131 GB, free: 14.69 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 9.471e-05/0.4468, allocations: 139.5 kB / 0.6133 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.4468, allocations: 0 / 0.6133 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.093e-05/0.4468, allocations: 3 kB / 0.6133 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4468, allocations: 8.031 kB / 0.6133 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4468, allocations: 0 / 0.6133 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4468, allocations: 3.984 kB / 0.6133 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.829e-05/0.4469, allocations: 101.3 kB / 0.6134 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4469, allocations: 3.938 kB / 0.6134 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.4469, allocations: 0 / 0.6134 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4469, allocations: 4 kB / 0.6134 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.4469, allocations: 0 / 0.6134 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.4469, allocations: 0 / 0.6134 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.4469, allocations: 0 / 0.6134 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.447, allocations: 124.5 kB / 0.6135 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.447, allocations: 7.875 kB / 0.6135 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.447, allocations: 7.938 kB / 0.6135 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-06/0.447, allocations: 0 / 0.6135 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.4471, allocations: 0 / 0.6135 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.4471, allocations: 0 / 0.6135 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.4471, allocations: 75.28 kB / 0.6136 GB, free: 14.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4471, allocations: 0 / 0.6136 GB, free: 14.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01184/0.4589, allocations: 3.787 MB / 0.6173 GB, free: 10.35 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.02036/0.4793, allocations: 0.9916 MB / 0.6183 GB, free: 9.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.4795, allocations: 114.8 kB / 0.6184 GB, free: 9.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4795, allocations: 0 / 0.6184 GB, free: 9.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.4796, allocations: 85.05 kB / 0.6185 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4797, allocations: 7.922 kB / 0.6185 GB, free: 9.125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.48, allocations: 132.5 kB / 0.6186 GB, free: 8.957 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.369e-05/0.4801, allocations: 55.36 kB / 0.6187 GB, free: 8.883 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.4801, allocations: 15.38 kB / 0.6187 GB, free: 8.867 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4801, allocations: 4.125 kB / 0.6187 GB, free: 8.863 MB / 462.1 MB Notification: Performance of Templates: time 0.1074/0.5875, allocations: 64.86 MB / 0.682 GB, free: 7.895 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: 24.405096211005002]