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.001763/0.001763, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002086/0.002086, allocations: 210.9 kB / 24.48 MB, free: 3.938 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2297/0.2297, allocations: 46.97 MB / 361.6 MB, free: 4.031 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.001927/0.001927, allocations: 63.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3227, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001693/0.3244, allocations: 0.4893 MB / 0.5623 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008095/0.3325, allocations: 4.576 MB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.3325, allocations: 3.938 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.3326, allocations: 0 / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.3326, allocations: 0 / 0.5667 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.008543/0.3411, allocations: 3.289 MB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.3412, allocations: 4 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.3412, allocations: 3.984 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.3412, allocations: 3.984 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.147e-05/0.3413, allocations: 4 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.3413, allocations: 0 / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03322/0.3745, allocations: 19.97 MB / 0.5895 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3745, allocations: 0 / 0.5895 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.3745, allocations: 0 / 0.5895 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03914/0.4137, allocations: 26.13 MB / 0.615 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4137, allocations: 0 / 0.615 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4137, allocations: 4 kB / 0.615 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.4137, allocations: 0 / 0.615 GB, free: 13.62 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.007653/0.4213, allocations: 0.5943 MB / 0.6156 GB, free: 12.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4214, allocations: 12.03 kB / 0.6156 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.4214, allocations: 0.9375 kB / 0.6156 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.4215, allocations: 105.4 kB / 0.6157 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4215, allocations: 3.938 kB / 0.6157 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.4215, allocations: 4 kB / 0.6157 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.4216, allocations: 59.39 kB / 0.6158 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4217, allocations: 3.938 kB / 0.6158 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.4217, allocations: 4 kB / 0.6158 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.4217, allocations: 4 kB / 0.6158 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.4217, allocations: 25.7 kB / 0.6158 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.4218, allocations: 97.27 kB / 0.6159 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.4219, allocations: 48.25 kB / 0.6159 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.4219, allocations: 38.55 kB / 0.616 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-06/0.4219, allocations: 4.062 kB / 0.616 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.422, allocations: 56.27 kB / 0.616 GB, free: 12.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.422, allocations: 0 / 0.616 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.000221/0.4222, allocations: 122.8 kB / 0.6161 GB, free: 12.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.4223, allocations: 77.11 kB / 0.6162 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.4223, allocations: 93.86 kB / 0.6163 GB, free: 12.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4224, allocations: 29.7 kB / 0.6163 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.4224, allocations: 80.14 kB / 0.6164 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.4224, allocations: 0 / 0.6164 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.4224, allocations: 9.719 kB / 0.6164 GB, free: 11.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4226, allocations: 318.8 kB / 0.6167 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.4226, allocations: 25.7 kB / 0.6168 GB, free: 11.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.4226, allocations: 25.7 kB / 0.6168 GB, free: 11.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.4227, allocations: 76.28 kB / 0.6168 GB, free: 11.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4227, allocations: 0 / 0.6168 GB, free: 11.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001007/0.4228, allocations: 85.11 kB / 0.6169 GB, free: 11.37 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.4229, allocations: 33.7 kB / 0.617 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4229, allocations: 3.984 kB / 0.617 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4229, allocations: 0 / 0.617 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.4229, allocations: 0 / 0.617 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4229, allocations: 0 / 0.617 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.4229, allocations: 0 / 0.617 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.4229, allocations: 0 / 0.617 GB, free: 11.33 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.0001112/0.423, allocations: 147.5 kB / 0.6171 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-06/0.423, allocations: 0 / 0.6171 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.269e-05/0.423, allocations: 3 kB / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.423, allocations: 4 kB / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.423, allocations: 0 / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.423, allocations: 0 / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.172e-05/0.4231, allocations: 101.2 kB / 0.6172 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4231, allocations: 0 / 0.6172 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.4231, allocations: 0 / 0.6172 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4231, allocations: 7.938 kB / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.4231, allocations: 0 / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4231, allocations: 15.88 kB / 0.6172 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4231, allocations: 0 / 0.6172 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.4233, allocations: 124.5 kB / 0.6174 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.4233, allocations: 3.938 kB / 0.6174 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4233, allocations: 4 kB / 0.6174 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-06/0.4233, allocations: 0 / 0.6174 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.4233, allocations: 0 / 0.6174 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.4233, allocations: 0 / 0.6174 GB, free: 10.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.64e-05/0.4233, allocations: 79.28 kB / 0.6174 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4233, allocations: 0 / 0.6174 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01166/0.435, allocations: 3.784 MB / 0.6211 GB, free: 6.984 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.02078/0.4558, allocations: 0.9866 MB / 0.6221 GB, free: 6.016 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.456, allocations: 114.8 kB / 0.6222 GB, free: 5.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.456, allocations: 0 / 0.6222 GB, free: 5.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.456, allocations: 85.11 kB / 0.6223 GB, free: 5.777 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.4562, allocations: 3.938 kB / 0.6223 GB, free: 5.773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.4565, allocations: 132.6 kB / 0.6224 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.4565, allocations: 59.36 kB / 0.6225 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.4565, allocations: 11.44 kB / 0.6225 GB, free: 5.516 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4565, allocations: 0 / 0.6225 GB, free: 5.516 MB / 462.1 MB Notification: Performance of Templates: time 0.0982/0.5547, allocations: 64.87 MB / 0.6858 GB, free: 4.539 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: 23.47383656402235]