Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.001411/0.001411, 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.00153/0.00153, 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2208/0.2208, allocations: 44.92 MB / 359.6 MB, free: 6.289 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [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.002174/0.002174, allocations: 74.23 kB / 0.4943 GB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3158, allocations: 65.47 MB / 0.5582 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001709/0.3175, allocations: 0.4898 MB / 0.5587 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3198, allocations: 1.629 MB / 0.5603 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.3198, allocations: 0 / 0.5603 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.3198, allocations: 0 / 0.5603 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.3198, allocations: 0 / 0.5603 GB, free: 5.598 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009424/0.3208, allocations: 291.2 kB / 0.5606 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.674e-05/0.3208, allocations: 8 kB / 0.5606 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.3208, allocations: 4 kB / 0.5606 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.373e-05/0.3209, allocations: 0 / 0.5606 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.003e-05/0.3209, allocations: 7.984 kB / 0.5606 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-06/0.3209, allocations: 0 / 0.5606 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008783/0.3218, allocations: 0.6042 MB / 0.5612 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.3218, allocations: 3.984 kB / 0.5612 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.3218, allocations: 0 / 0.5612 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.3222, allocations: 329.6 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3222, allocations: 0 / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3223, allocations: 0 / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3223, allocations: 0 / 0.5615 GB, free: 4.367 MB / 398.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.0003996/0.3227, allocations: 299.7 kB / 0.5618 GB, free: 4.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3227, allocations: 12.03 kB / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.3227, allocations: 8.922 kB / 0.5618 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.3228, allocations: 102.5 kB / 0.5619 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.3228, allocations: 384 / 0.5619 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3228, allocations: 384 / 0.5619 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.248e-05/0.3229, allocations: 42 kB / 0.562 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3229, allocations: 0 / 0.562 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3229, allocations: 3.938 kB / 0.562 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.3229, allocations: 0 / 0.562 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.043e-05/0.323, allocations: 7.938 kB / 0.562 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.3231, allocations: 120.8 kB / 0.5621 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.845e-05/0.3232, allocations: 18.61 kB / 0.5621 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.3232, allocations: 8.859 kB / 0.5621 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.3232, allocations: 0 / 0.5621 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.3232, allocations: 60.2 kB / 0.5622 GB, free: 3.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3232, allocations: 0 / 0.5622 GB, free: 3.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.3234, allocations: 71.39 kB / 0.5622 GB, free: 3.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.3235, allocations: 81.05 kB / 0.5623 GB, free: 3.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.71e-05/0.3235, allocations: 93.81 kB / 0.5624 GB, free: 3.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3235, allocations: 29.7 kB / 0.5624 GB, free: 3.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.3236, allocations: 84.27 kB / 0.5625 GB, free: 3.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.3236, allocations: 0 / 0.5625 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.3236, allocations: 9.719 kB / 0.5625 GB, free: 3.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3238, allocations: 318.8 kB / 0.5628 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-06/0.3238, allocations: 0 / 0.5628 GB, free: 2.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.3238, allocations: 0 / 0.5628 GB, free: 2.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.58e-05/0.3238, allocations: 64.25 kB / 0.5629 GB, free: 2.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3238, allocations: 4.062 kB / 0.5629 GB, free: 2.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.362e-05/0.3239, allocations: 63.34 kB / 0.5629 GB, free: 2.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.324, allocations: 37.64 kB / 0.563 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.324, allocations: 0 / 0.563 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.324, allocations: 0 / 0.563 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.324, allocations: 3.984 kB / 0.563 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.324, allocations: 7.984 kB / 0.563 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.324, allocations: 0 / 0.563 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.324, allocations: 0 / 0.563 GB, free: 2.613 MB / 398.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.327e-05/0.3241, allocations: 139.6 kB / 0.5631 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.3241, allocations: 3.938 kB / 0.5631 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.3241, allocations: 3 kB / 0.5631 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3241, allocations: 3.984 kB / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3241, allocations: 0 / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3241, allocations: 0 / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.3242, allocations: 120.8 kB / 0.5633 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3242, allocations: 0 / 0.5633 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3242, allocations: 0 / 0.5633 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3242, allocations: 3.938 kB / 0.5633 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3242, allocations: 0 / 0.5633 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3242, allocations: 4 kB / 0.5633 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3242, allocations: 0 / 0.5633 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.3244, allocations: 102.7 kB / 0.5634 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.3244, allocations: 4 kB / 0.5634 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.3244, allocations: 7.938 kB / 0.5634 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.3244, allocations: 0 / 0.5634 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.3244, allocations: 3.938 kB / 0.5634 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.3244, allocations: 4.031 kB / 0.5634 GB, free: 2.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.324e-05/0.3244, allocations: 75.28 kB / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3244, allocations: 0 / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.3247, allocations: 63.8 kB / 0.5635 GB, free: 2 MB / 398.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.0004451/0.3252, allocations: 189.9 kB / 0.5637 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.3253, allocations: 63.39 kB / 0.5638 GB, free: 1.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3253, allocations: 3.938 kB / 0.5638 GB, free: 1.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.3253, allocations: 55.41 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.3255, allocations: 4.125 kB / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.3257, allocations: 110.7 kB / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.326, allocations: 0.6768 MB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.326, allocations: 7.438 kB / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.326, allocations: 0 / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Templates: time 0.003095/0.3291, allocations: 1.263 MB / 0.5658 GB, free: 15.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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: 8.416494042845443]