Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.001334/0.001334, allocations: 112.5 kB / 21.19 MB, free: 0.7812 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.001506/0.001506, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2216/0.2216, allocations: 44.91 MB / 359.6 MB, free: 6.266 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [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.00214/0.00214, allocations: 71.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3186, allocations: 65.46 MB / 0.5582 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001695/0.3203, allocations: 0.4889 MB / 0.5587 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.3235, allocations: 2.165 MB / 0.5608 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.3235, allocations: 0 / 0.5608 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.3235, allocations: 3.938 kB / 0.5608 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.3235, allocations: 0 / 0.5608 GB, free: 5.016 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.002084/0.3256, allocations: 0.7634 MB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.3257, allocations: 8 kB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.3257, allocations: 4 kB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.3257, allocations: 0 / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.522e-05/0.3257, allocations: 0 / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-06/0.3257, allocations: 0 / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.3281, allocations: 1.708 MB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.3281, allocations: 4 kB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.3282, allocations: 0 / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.3298, allocations: 1.573 MB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3298, allocations: 0 / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3298, allocations: 0 / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3299, allocations: 0 / 0.5648 GB, free: 0.9609 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.0005611/0.3304, allocations: 343.4 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3304, allocations: 12.03 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.3305, allocations: 0.9375 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.789e-05/0.3306, allocations: 106.5 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3306, allocations: 4.375 kB / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3306, allocations: 4.125 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.311e-05/0.3307, allocations: 33.7 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3307, allocations: 0 / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3307, allocations: 0 / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3307, allocations: 0 / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.943e-05/0.3307, allocations: 11.94 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.3309, allocations: 120.7 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.3309, allocations: 18.58 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.3309, allocations: 12.89 kB / 0.5654 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.3309, allocations: 0 / 0.5654 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.331, allocations: 60.27 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.331, allocations: 0 / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001621/0.3311, allocations: 71.28 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.3312, allocations: 77.11 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.3313, allocations: 93.98 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3313, allocations: 29.64 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.3313, allocations: 84.14 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3313, allocations: 0 / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.3314, allocations: 13.72 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3315, allocations: 310.8 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.3315, allocations: 4 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-06/0.3315, allocations: 0 / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.073e-05/0.3316, allocations: 68.31 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3316, allocations: 0 / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.268e-05/0.3317, allocations: 71.27 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.3317, allocations: 33.7 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3317, allocations: 0 / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3318, allocations: 0 / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.3318, allocations: 0 / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3318, allocations: 0 / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.3318, allocations: 3.984 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3318, allocations: 8.031 kB / 0.5663 GB, free: 15.16 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 8.726e-05/0.3319, allocations: 135.5 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.3319, allocations: 3.938 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.277e-06/0.3319, allocations: 7 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3319, allocations: 0 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3319, allocations: 0 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.3319, allocations: 0 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.332, allocations: 120.8 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.332, allocations: 3.938 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.332, allocations: 4 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.332, allocations: 4 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.332, allocations: 3.938 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.332, allocations: 0 / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.332, allocations: 0 / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.3321, allocations: 94.77 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.3321, allocations: 3.938 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3321, allocations: 0 / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.3321, allocations: 8.031 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-06/0.3321, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3322, allocations: 4 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.3322, allocations: 75.28 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3322, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007282/0.3329, allocations: 275.6 kB / 0.567 GB, free: 14.35 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.001344/0.3343, allocations: 420.8 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3344, allocations: 63.34 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3344, allocations: 4.062 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.203e-05/0.3344, allocations: 55.41 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.3345, allocations: 6.891 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.3347, allocations: 106.8 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.335, allocations: 0.6768 MB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.3351, allocations: 7.438 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3351, allocations: 3.938 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of Templates: time 0.01151/0.3466, allocations: 6.627 MB / 0.5748 GB, free: 6.305 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.761920594144613]