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.001733/0.001733, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002365/0.002365, allocations: 209 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2296/0.2296, allocations: 44.94 MB / 359.6 MB, free: 6.051 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.002246/0.002246, allocations: 71.89 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3723, allocations: 65.47 MB / 0.5582 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001778/0.3741, allocations: 0.4888 MB / 0.5587 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.3765, allocations: 1.54 MB / 0.5602 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.3765, allocations: 4 kB / 0.5602 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.3765, allocations: 0 / 0.5602 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.3765, allocations: 0 / 0.5602 GB, free: 5.449 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.0009675/0.3775, allocations: 291.2 kB / 0.5604 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.3776, allocations: 8 kB / 0.5604 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.3776, allocations: 11.98 kB / 0.5605 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.3776, allocations: 0 / 0.5605 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.785e-05/0.3776, allocations: 0 / 0.5605 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.3777, allocations: 0 / 0.5605 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.3784, allocations: 423 kB / 0.5609 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.3784, allocations: 3.938 kB / 0.5609 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.3785, allocations: 7.938 kB / 0.5609 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.379, allocations: 305.7 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.379, allocations: 0 / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.379, allocations: 0 / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.379, allocations: 0 / 0.5612 GB, free: 4.426 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.0003925/0.3794, allocations: 299.7 kB / 0.5614 GB, free: 4.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3794, allocations: 8.031 kB / 0.5615 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.3794, allocations: 4.938 kB / 0.5615 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.3795, allocations: 106.5 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3795, allocations: 4.375 kB / 0.5616 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.3795, allocations: 384 / 0.5616 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.3796, allocations: 63.72 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3797, allocations: 0 / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3797, allocations: 0 / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3797, allocations: 0 / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.3797, allocations: 33.58 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.3798, allocations: 105.3 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.394e-05/0.3799, allocations: 44.28 kB / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.3799, allocations: 34.66 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3799, allocations: 3.938 kB / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.38, allocations: 60.27 kB / 0.5619 GB, free: 3.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.38, allocations: 0 / 0.5619 GB, free: 3.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002604/0.3802, allocations: 122.7 kB / 0.562 GB, free: 3.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.3803, allocations: 81.11 kB / 0.5621 GB, free: 3.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.3803, allocations: 97.81 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3804, allocations: 25.7 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.3804, allocations: 80.14 kB / 0.5623 GB, free: 3.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3804, allocations: 4.125 kB / 0.5623 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.3804, allocations: 13.72 kB / 0.5623 GB, free: 3.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3806, allocations: 310.8 kB / 0.5626 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.3807, allocations: 29.69 kB / 0.5626 GB, free: 2.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.3807, allocations: 29.7 kB / 0.5627 GB, free: 2.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.762e-05/0.3807, allocations: 64.27 kB / 0.5627 GB, free: 2.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3807, allocations: 0 / 0.5627 GB, free: 2.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.884e-05/0.3808, allocations: 93.03 kB / 0.5628 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.3809, allocations: 29.7 kB / 0.5628 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3809, allocations: 4.094 kB / 0.5628 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3809, allocations: 3.938 kB / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.3809, allocations: 0 / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3809, allocations: 0 / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.3809, allocations: 4 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3809, allocations: 0 / 0.5628 GB, free: 2.426 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.876e-05/0.381, allocations: 135.5 kB / 0.563 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.381, allocations: 4 kB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.381, allocations: 10.92 kB / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.381, allocations: 0 / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.381, allocations: 4 kB / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3811, allocations: 0 / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.147e-05/0.3811, allocations: 97.33 kB / 0.5631 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3811, allocations: 0 / 0.5631 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.3811, allocations: 3.984 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.3811, allocations: 0 / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3812, allocations: 0 / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3812, allocations: 3.938 kB / 0.5631 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3812, allocations: 0 / 0.5631 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.3813, allocations: 124.4 kB / 0.5632 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.3813, allocations: 4 kB / 0.5632 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.3813, allocations: 7.969 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.3813, allocations: 7.922 kB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-06/0.3813, allocations: 0 / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3813, allocations: 4 kB / 0.5632 GB, free: 1.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.3814, allocations: 75.28 kB / 0.5633 GB, free: 1.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3814, allocations: 0 / 0.5633 GB, free: 1.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.3817, allocations: 67.8 kB / 0.5634 GB, free: 1.809 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.0004623/0.3821, allocations: 196.6 kB / 0.5636 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.3824, allocations: 118.8 kB / 0.5637 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3824, allocations: 0 / 0.5637 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3825, allocations: 93.09 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.3826, allocations: 2.656 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.3828, allocations: 128.4 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.3829, allocations: 55.36 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.3829, allocations: 7.438 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3829, allocations: 0 / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of Templates: time 0.003247/0.3861, allocations: 1.264 MB / 0.5652 GB, free: 15.86 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.696695622056723]