Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 230.2 MB / 255.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2347/0.2347, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 83.88 kB / 0.4923 GB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1273, allocations: 65.99 MB / 0.5568 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001619/0.1289, allocations: 494.6 kB / 0.5573 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007879/0.1368, allocations: 4.92 MB / 0.5621 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.1368, allocations: 0 / 0.5621 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1368, allocations: 4 kB / 0.5621 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.1368, allocations: 0 / 0.5621 GB, free: 0.5352 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.007016/0.1438, allocations: 2.939 MB / 0.5649 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.1439, allocations: 0 / 0.5649 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.1439, allocations: 0 / 0.5649 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.144, allocations: 4 kB / 0.5649 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.144, allocations: 0 / 0.5649 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.144, allocations: 0 / 0.5649 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03135/0.1753, allocations: 19.57 MB / 0.584 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1753, allocations: 0 / 0.584 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1754, allocations: 7.938 kB / 0.584 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3282/0.5036, allocations: 27.47 MB / 0.6109 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5036, allocations: 1.562 kB / 0.6109 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5036, allocations: 0 / 0.6109 GB, free: 21.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5036, allocations: 0 / 0.6109 GB, free: 21.46 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.017/0.5206, allocations: 0.6752 MB / 0.6115 GB, free: 20.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.5207, allocations: 13.56 kB / 0.6116 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.5207, allocations: 7.891 kB / 0.6116 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.378e-05/0.5208, allocations: 160.6 kB / 0.6117 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5208, allocations: 5.312 kB / 0.6117 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.5208, allocations: 0.5938 kB / 0.6117 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.727e-05/0.5209, allocations: 33.78 kB / 0.6118 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5209, allocations: 0 / 0.6118 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5209, allocations: 1.906 kB / 0.6118 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.5209, allocations: 0 / 0.6118 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.5209, allocations: 8.312 kB / 0.6118 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.521, allocations: 147.1 kB / 0.6119 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.75e-05/0.5211, allocations: 23.45 kB / 0.6119 GB, free: 20.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.5211, allocations: 6.234 kB / 0.6119 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.5211, allocations: 0 / 0.6119 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.5211, allocations: 66.14 kB / 0.612 GB, free: 20.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.5211, allocations: 0 / 0.612 GB, free: 20.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.5213, allocations: 61.06 kB / 0.6121 GB, free: 20.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.5213, allocations: 81.98 kB / 0.6121 GB, free: 20.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.5e-05/0.5214, allocations: 89.86 kB / 0.6122 GB, free: 20.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.5214, allocations: 29.55 kB / 0.6122 GB, free: 20.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.312e-05/0.5214, allocations: 82.95 kB / 0.6123 GB, free: 19.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.5214, allocations: 2.719 kB / 0.6123 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.5214, allocations: 12.41 kB / 0.6123 GB, free: 19.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.5215, allocations: 310.8 kB / 0.6126 GB, free: 19.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.5215, allocations: 4.625 kB / 0.6126 GB, free: 19.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.5215, allocations: 3.781 kB / 0.6126 GB, free: 19.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.5215, allocations: 60.73 kB / 0.6127 GB, free: 19.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5215, allocations: 0 / 0.6127 GB, free: 19.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.432e-05/0.5216, allocations: 70 kB / 0.6128 GB, free: 19.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.5216, allocations: 33.42 kB / 0.6128 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5216, allocations: 0.9688 kB / 0.6128 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5216, allocations: 0 / 0.6128 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.5216, allocations: 3.531 kB / 0.6128 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.5216, allocations: 1.375 kB / 0.6128 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.5216, allocations: 0 / 0.6128 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.5216, allocations: 1.469 kB / 0.6128 GB, free: 19.48 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 5.238e-05/0.5217, allocations: 148.8 kB / 0.6129 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.5217, allocations: 0 / 0.6129 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.768e-06/0.5217, allocations: 7.75 kB / 0.613 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.5217, allocations: 0 / 0.613 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5217, allocations: 1 kB / 0.613 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.5217, allocations: 0 / 0.613 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.363e-05/0.5218, allocations: 153.9 kB / 0.6131 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.5218, allocations: 0 / 0.6131 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.5218, allocations: 0 / 0.6131 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.5218, allocations: 1.156 kB / 0.6131 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5218, allocations: 1.812 kB / 0.6131 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5218, allocations: 1.969 kB / 0.6131 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5218, allocations: 3.375 kB / 0.6131 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.329e-05/0.5219, allocations: 98.62 kB / 0.6132 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.5219, allocations: 80.17 kB / 0.6133 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.5219, allocations: 1.156 kB / 0.6133 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-06/0.5219, allocations: 3.938 kB / 0.6133 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.5219, allocations: 3.938 kB / 0.6133 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.5219, allocations: 6.266 kB / 0.6133 GB, free: 18.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.361e-05/0.5219, allocations: 75.28 kB / 0.6134 GB, free: 18.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5219, allocations: 0 / 0.6134 GB, free: 18.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.02561/0.5475, allocations: 3.791 MB / 0.6171 GB, free: 18.01 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.04116/0.5887, allocations: 0.9795 MB / 0.618 GB, free: 17.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.5888, allocations: 63.58 kB / 0.6181 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5888, allocations: 3.938 kB / 0.6181 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.5889, allocations: 56.41 kB / 0.6181 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.589, allocations: 10.44 kB / 0.6182 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.5892, allocations: 102.2 kB / 0.6183 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.5894, allocations: 0.669 MB / 0.6189 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.5894, allocations: 11.56 kB / 0.6189 GB, free: 16.27 MB / 446.1 MB Notification: Performance of SimCode: time 4.7e-07/0.5894, allocations: 4 kB / 0.6189 GB, free: 16.27 MB / 446.1 MB Notification: Performance of Templates: time 0.1072/0.6966, allocations: 64.88 MB / 0.6823 GB, free: 15.48 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2/TestMatrices2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.31697326898575]