Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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.006637/0.006637, allocations: 106 kB / 21.98 MB, free: 5.227 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.001717/0.001717, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.429/1.429, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2245/0.2245, allocations: 46.93 MB / 362.3 MB, free: 4.168 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") [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.00233/0.00233, allocations: 71.88 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3244, allocations: 66.09 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001666/0.326, allocations: 489 kB / 0.5632 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.3293, allocations: 2.172 MB / 0.5653 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.3293, allocations: 0 / 0.5653 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.3293, allocations: 3.938 kB / 0.5653 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.285e-06/0.3294, allocations: 7.938 kB / 0.5653 GB, free: 1.562 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.3316, allocations: 0.7732 MB / 0.5661 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.277e-05/0.3316, allocations: 0 / 0.5661 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.3317, allocations: 0 / 0.5661 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.823e-05/0.3317, allocations: 0 / 0.5661 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.808e-05/0.3317, allocations: 0 / 0.5661 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.3317, allocations: 4 kB / 0.5661 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.3343, allocations: 1.704 MB / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.3343, allocations: 4 kB / 0.5677 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.3343, allocations: 4 kB / 0.5677 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.3361, allocations: 1.566 MB / 0.5693 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3361, allocations: 0 / 0.5693 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3361, allocations: 0 / 0.5693 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3361, allocations: 4 kB / 0.5693 GB, free: 13.51 MB / 414.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.0005925/0.3367, allocations: 339.4 kB / 0.5696 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3367, allocations: 8.031 kB / 0.5696 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3367, allocations: 4.938 kB / 0.5696 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.3368, allocations: 106.5 kB / 0.5697 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3368, allocations: 4.375 kB / 0.5697 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3369, allocations: 4.312 kB / 0.5697 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.566e-05/0.337, allocations: 37.94 kB / 0.5698 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.337, allocations: 4 kB / 0.5698 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.337, allocations: 0 / 0.5698 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.337, allocations: 0 / 0.5698 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.337, allocations: 0 / 0.5698 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.3371, allocations: 120.8 kB / 0.5699 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.245e-05/0.3372, allocations: 22.52 kB / 0.5699 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.3372, allocations: 8.797 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.3372, allocations: 3.984 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.3372, allocations: 64.27 kB / 0.57 GB, free: 12.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3372, allocations: 0 / 0.57 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000195/0.3374, allocations: 71.34 kB / 0.57 GB, free: 12.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.3375, allocations: 77.11 kB / 0.5701 GB, free: 12.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.3375, allocations: 93.86 kB / 0.5702 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3376, allocations: 29.69 kB / 0.5702 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.3376, allocations: 80.14 kB / 0.5703 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.3376, allocations: 0 / 0.5703 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.3376, allocations: 13.72 kB / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3378, allocations: 310.8 kB / 0.5706 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.3378, allocations: 8.062 kB / 0.5706 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.3378, allocations: 0 / 0.5706 GB, free: 11.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.011e-05/0.3379, allocations: 64.27 kB / 0.5707 GB, free: 11.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3379, allocations: 0 / 0.5707 GB, free: 11.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.28e-05/0.3379, allocations: 63.39 kB / 0.5707 GB, free: 11.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.338, allocations: 35.83 kB / 0.5708 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.338, allocations: 4 kB / 0.5708 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.338, allocations: 4 kB / 0.5708 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.338, allocations: 0 / 0.5708 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.338, allocations: 4.094 kB / 0.5708 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.338, allocations: 0 / 0.5708 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.338, allocations: 0 / 0.5708 GB, free: 11.73 MB / 414.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.469e-05/0.3381, allocations: 144.3 kB / 0.5709 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-06/0.3381, allocations: 3.938 kB / 0.5709 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.162e-05/0.3381, allocations: 3 kB / 0.5709 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.3381, allocations: 0 / 0.5709 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3381, allocations: 0 / 0.5709 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3381, allocations: 3.984 kB / 0.5709 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.3382, allocations: 124.8 kB / 0.5711 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3382, allocations: 0 / 0.5711 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-06/0.3382, allocations: 3.984 kB / 0.5711 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3382, allocations: 3.938 kB / 0.5711 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3383, allocations: 0 / 0.5711 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3383, allocations: 11.88 kB / 0.5711 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3383, allocations: 0 / 0.5711 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.746e-05/0.3384, allocations: 82.84 kB / 0.5712 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.3384, allocations: 12.02 kB / 0.5712 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3384, allocations: 3.938 kB / 0.5712 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.3384, allocations: 0 / 0.5712 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.3384, allocations: 0 / 0.5712 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3384, allocations: 0 / 0.5712 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.956e-05/0.3384, allocations: 79.22 kB / 0.5713 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3384, allocations: 4 kB / 0.5713 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007794/0.3392, allocations: 275.6 kB / 0.5715 GB, free: 10.9 MB / 414.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.00134/0.3406, allocations: 423.6 kB / 0.5719 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.3407, allocations: 63.39 kB / 0.572 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3407, allocations: 0 / 0.572 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.3407, allocations: 51.41 kB / 0.572 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.3408, allocations: 4 kB / 0.572 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.3411, allocations: 110.7 kB / 0.5721 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3414, allocations: 0.669 MB / 0.5728 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.3414, allocations: 7.438 kB / 0.5728 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3414, allocations: 4.125 kB / 0.5728 GB, free: 9.5 MB / 414.1 MB Notification: Performance of Templates: time 0.01276/0.3541, allocations: 6.634 MB / 0.5793 GB, free: 2.855 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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: 11.499255943112075]