Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001514/0.001514, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001731/0.001731, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.333/1.333, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.93 MB / 361.5 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 83.86 kB / 0.4974 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2797, allocations: 66.08 MB / 0.5619 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001531/0.2812, allocations: 489 kB / 0.5624 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007681/0.2889, allocations: 4.974 MB / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.289, allocations: 0 / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.289, allocations: 0 / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.289, allocations: 0 / 0.5673 GB, free: 14.77 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.007548/0.2965, allocations: 3.263 MB / 0.5704 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.373e-05/0.2966, allocations: 0 / 0.5704 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.2966, allocations: 7.984 kB / 0.5705 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.348e-05/0.2966, allocations: 0 / 0.5705 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.337e-05/0.2966, allocations: 0 / 0.5705 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-06/0.2966, allocations: 4 kB / 0.5705 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03146/0.3281, allocations: 21.05 MB / 0.591 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3281, allocations: 0 / 0.591 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.3281, allocations: 0 / 0.591 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03678/0.3649, allocations: 27.6 MB / 0.618 GB, free: 10.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3649, allocations: 0 / 0.618 GB, free: 10.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3649, allocations: 0 / 0.618 GB, free: 10.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.3649, allocations: 4 kB / 0.618 GB, free: 10.77 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.007089/0.372, allocations: 0.5944 MB / 0.6186 GB, free: 10.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.372, allocations: 16.03 kB / 0.6186 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.3721, allocations: 0.9375 kB / 0.6186 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.3722, allocations: 109.9 kB / 0.6187 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3722, allocations: 3.844 kB / 0.6187 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3722, allocations: 11.92 kB / 0.6187 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.3723, allocations: 29.69 kB / 0.6187 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3723, allocations: 0 / 0.6187 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.3723, allocations: 0 / 0.6187 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.3723, allocations: 4 kB / 0.6187 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/0.3723, allocations: 0 / 0.6187 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.3725, allocations: 124.7 kB / 0.6188 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.3725, allocations: 26.48 kB / 0.6189 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.3725, allocations: 4.859 kB / 0.6189 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.3725, allocations: 0 / 0.6189 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.3726, allocations: 60.25 kB / 0.6189 GB, free: 9.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.3726, allocations: 4.062 kB / 0.6189 GB, free: 9.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001758/0.3728, allocations: 63.41 kB / 0.619 GB, free: 9.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.3728, allocations: 81.11 kB / 0.6191 GB, free: 9.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.3729, allocations: 89.86 kB / 0.6192 GB, free: 9.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3729, allocations: 25.7 kB / 0.6192 GB, free: 9.355 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.3729, allocations: 80.14 kB / 0.6193 GB, free: 9.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3729, allocations: 3.984 kB / 0.6193 GB, free: 9.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.373, allocations: 13.72 kB / 0.6193 GB, free: 9.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3731, allocations: 318.7 kB / 0.6196 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.3731, allocations: 4.125 kB / 0.6196 GB, free: 8.926 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-06/0.3732, allocations: 0 / 0.6196 GB, free: 8.926 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.237e-05/0.3732, allocations: 64.27 kB / 0.6196 GB, free: 8.848 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3732, allocations: 0 / 0.6196 GB, free: 8.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.859e-05/0.3733, allocations: 63.39 kB / 0.6197 GB, free: 8.773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.3733, allocations: 32.05 kB / 0.6197 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3733, allocations: 0 / 0.6197 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3734, allocations: 4 kB / 0.6197 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3734, allocations: 96 / 0.6197 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3734, allocations: 4 kB / 0.6197 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.3734, allocations: 0 / 0.6197 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.3734, allocations: 3.938 kB / 0.6198 GB, free: 8.727 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.823e-05/0.3735, allocations: 143.5 kB / 0.6199 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.3735, allocations: 3.984 kB / 0.6199 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.3735, allocations: 3 kB / 0.6199 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3735, allocations: 0 / 0.6199 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3735, allocations: 7.938 kB / 0.6199 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3735, allocations: 0 / 0.6199 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.998e-05/0.3736, allocations: 124.7 kB / 0.62 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3736, allocations: 0 / 0.62 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3736, allocations: 0 / 0.62 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3736, allocations: 3.984 kB / 0.62 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.3736, allocations: 0 / 0.62 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3736, allocations: 4 kB / 0.62 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3736, allocations: 0 / 0.62 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.3737, allocations: 90.78 kB / 0.6201 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.3738, allocations: 11.92 kB / 0.6201 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.3738, allocations: 0 / 0.6201 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.3738, allocations: 0 / 0.6201 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.3738, allocations: 7.875 kB / 0.6201 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3738, allocations: 0 / 0.6201 GB, free: 8.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.695e-05/0.3738, allocations: 79.28 kB / 0.6202 GB, free: 8.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3738, allocations: 0 / 0.6202 GB, free: 8.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01028/0.3841, allocations: 3.784 MB / 0.6239 GB, free: 4.387 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.01873/0.4028, allocations: 0.981 MB / 0.6249 GB, free: 3.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.403, allocations: 59.34 kB / 0.6249 GB, free: 3.332 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.403, allocations: 4 kB / 0.6249 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.403, allocations: 59.33 kB / 0.625 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.4032, allocations: 7.938 kB / 0.625 GB, free: 3.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.4034, allocations: 106.8 kB / 0.6251 GB, free: 3.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.4037, allocations: 0.673 MB / 0.6257 GB, free: 2.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.4037, allocations: 11.44 kB / 0.6258 GB, free: 2.402 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4037, allocations: 0 / 0.6258 GB, free: 2.402 MB / 462.1 MB Notification: Performance of Templates: time 0.1002/0.5039, allocations: 64.87 MB / 0.6891 GB, free: 1.426 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 19.390216876985505]