Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001974/0.001974, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001959/0.001959, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2263/0.2263, allocations: 46.93 MB / 361.6 MB, free: 4.266 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+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.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.91 kB / 0.4974 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3449, allocations: 66.03 MB / 0.5619 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001588/0.3465, allocations: 0.4893 MB / 0.5623 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008259/0.3548, allocations: 4.962 MB / 0.5672 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.3548, allocations: 0 / 0.5672 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.3548, allocations: 4 kB / 0.5672 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.642e-06/0.3548, allocations: 0 / 0.5672 GB, free: 15.09 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.008175/0.363, allocations: 3.262 MB / 0.5704 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.363, allocations: 0 / 0.5704 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.3631, allocations: 3.984 kB / 0.5704 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.3631, allocations: 4 kB / 0.5704 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.588e-05/0.3631, allocations: 4 kB / 0.5704 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.342e-06/0.3631, allocations: 0 / 0.5704 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03187/0.395, allocations: 21.05 MB / 0.5909 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.395, allocations: 0 / 0.5909 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.395, allocations: 0 / 0.5909 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03825/0.4333, allocations: 27.61 MB / 0.6179 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4333, allocations: 0 / 0.6179 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4333, allocations: 0 / 0.6179 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4333, allocations: 0 / 0.6179 GB, free: 11.09 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.007364/0.4407, allocations: 0.5983 MB / 0.6185 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.4407, allocations: 16.03 kB / 0.6185 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.4408, allocations: 0.9375 kB / 0.6185 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4409, allocations: 105.4 kB / 0.6186 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.4409, allocations: 4 kB / 0.6186 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.4409, allocations: 4 kB / 0.6186 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.441, allocations: 25.7 kB / 0.6186 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.441, allocations: 15.8 kB / 0.6186 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.441, allocations: 0 / 0.6186 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.441, allocations: 0 / 0.6186 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.441, allocations: 8 kB / 0.6187 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.4412, allocations: 120.7 kB / 0.6188 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.017e-05/0.4413, allocations: 18.61 kB / 0.6188 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.4413, allocations: 4.859 kB / 0.6188 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.4413, allocations: 0 / 0.6188 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/0.4413, allocations: 56.27 kB / 0.6188 GB, free: 9.984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4413, allocations: 0 / 0.6188 GB, free: 9.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001948/0.4415, allocations: 75.39 kB / 0.6189 GB, free: 9.898 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.4416, allocations: 77.11 kB / 0.619 GB, free: 9.805 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/0.4417, allocations: 93.86 kB / 0.6191 GB, free: 9.703 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.4417, allocations: 25.7 kB / 0.6191 GB, free: 9.672 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.4417, allocations: 80.14 kB / 0.6192 GB, free: 9.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.4417, allocations: 0 / 0.6192 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.4418, allocations: 13.7 kB / 0.6192 GB, free: 9.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4419, allocations: 322.9 kB / 0.6195 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.4419, allocations: 4 kB / 0.6195 GB, free: 9.242 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.4419, allocations: 0 / 0.6195 GB, free: 9.242 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.941e-05/0.442, allocations: 64.2 kB / 0.6196 GB, free: 9.164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.442, allocations: 0 / 0.6196 GB, free: 9.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.357e-05/0.4421, allocations: 67.38 kB / 0.6196 GB, free: 9.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.4421, allocations: 29.7 kB / 0.6197 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4421, allocations: 0 / 0.6197 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4422, allocations: 0 / 0.6197 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.4422, allocations: 8.094 kB / 0.6197 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4422, allocations: 0 / 0.6197 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.4422, allocations: 0 / 0.6197 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4422, allocations: 3.938 kB / 0.6197 GB, free: 9.039 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 0.0001187/0.4423, allocations: 143.5 kB / 0.6198 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.4423, allocations: 0 / 0.6198 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.361e-05/0.4423, allocations: 6.984 kB / 0.6198 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4423, allocations: 0 / 0.6198 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.4423, allocations: 0 / 0.6198 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4423, allocations: 4 kB / 0.6198 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.4424, allocations: 124.6 kB / 0.6199 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4425, allocations: 0 / 0.6199 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.4425, allocations: 0 / 0.6199 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4425, allocations: 0 / 0.6199 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4425, allocations: 3.938 kB / 0.6199 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4425, allocations: 0 / 0.6199 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4425, allocations: 7.922 kB / 0.62 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.4426, allocations: 94.78 kB / 0.62 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.4426, allocations: 0 / 0.62 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.4426, allocations: 11.98 kB / 0.6201 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.4426, allocations: 0 / 0.6201 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.4426, allocations: 0 / 0.6201 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4426, allocations: 4 kB / 0.6201 GB, free: 8.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.4427, allocations: 79.22 kB / 0.6201 GB, free: 8.484 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4427, allocations: 0 / 0.6201 GB, free: 8.484 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01125/0.4539, allocations: 3.787 MB / 0.6238 GB, free: 4.695 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.01967/0.4736, allocations: 0.9808 MB / 0.6248 GB, free: 3.723 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.4737, allocations: 59.41 kB / 0.6248 GB, free: 3.652 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4737, allocations: 0 / 0.6248 GB, free: 3.652 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.962e-05/0.4738, allocations: 51.41 kB / 0.6249 GB, free: 3.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.4739, allocations: 8 kB / 0.6249 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.4742, allocations: 110.9 kB / 0.625 GB, free: 3.441 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.4745, allocations: 0.6728 MB / 0.6257 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.4745, allocations: 11.44 kB / 0.6257 GB, free: 2.73 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4745, allocations: 0 / 0.6257 GB, free: 2.73 MB / 462.1 MB Notification: Performance of Templates: time 0.09997/0.5745, allocations: 64.86 MB / 0.689 GB, free: 1.758 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2/TestMatrices2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.22499176301062]