Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.001667/0.001667, 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.002005/0.002005, 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.577/1.577, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.2174/0.2174, allocations: 44.94 MB / 359.6 MB, free: 6.031 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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [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.002114/0.002114, allocations: 75.86 kB / 0.4942 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.313, allocations: 65.46 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001622/0.3146, allocations: 497 kB / 0.5586 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3161, allocations: 0.7277 MB / 0.5594 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.3161, allocations: 3.938 kB / 0.5594 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.828e-06/0.3161, allocations: 0 / 0.5594 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.3161, allocations: 0 / 0.5594 GB, free: 6.254 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.318, allocations: 0.6383 MB / 0.56 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.408e-05/0.318, allocations: 7.984 kB / 0.56 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.3181, allocations: 0 / 0.56 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.3181, allocations: 0 / 0.56 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.619e-05/0.3181, allocations: 0 / 0.56 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-06/0.3181, allocations: 0 / 0.56 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008065/0.3189, allocations: 407.2 kB / 0.5604 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.3189, allocations: 0 / 0.5604 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.3189, allocations: 0 / 0.5604 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005056/0.3194, allocations: 345.6 kB / 0.5607 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3194, allocations: 0 / 0.5607 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3194, allocations: 0 / 0.5607 GB, free: 4.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3194, allocations: 0 / 0.5607 GB, free: 4.875 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.0003923/0.3198, allocations: 319.6 kB / 0.561 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3199, allocations: 8.031 kB / 0.561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.3199, allocations: 0.9375 kB / 0.561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.79e-05/0.32, allocations: 103.6 kB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.32, allocations: 12.36 kB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.32, allocations: 384 / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3201, allocations: 63.97 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3201, allocations: 192 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3201, allocations: 3.938 kB / 0.5612 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3201, allocations: 0 / 0.5612 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.3202, allocations: 37.56 kB / 0.5612 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.3203, allocations: 97.33 kB / 0.5613 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.3204, allocations: 40.28 kB / 0.5614 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.3204, allocations: 38.66 kB / 0.5614 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.3204, allocations: 3.938 kB / 0.5614 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.3205, allocations: 56.27 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3205, allocations: 0 / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000192/0.3206, allocations: 126.7 kB / 0.5616 GB, free: 3.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.3207, allocations: 81.11 kB / 0.5617 GB, free: 3.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.677e-05/0.3208, allocations: 97.81 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3208, allocations: 25.7 kB / 0.5618 GB, free: 3.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.3208, allocations: 84.12 kB / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.3208, allocations: 0 / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.3209, allocations: 17.7 kB / 0.5619 GB, free: 3.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.321, allocations: 314.8 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.321, allocations: 25.7 kB / 0.5622 GB, free: 3.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.321, allocations: 29.83 kB / 0.5622 GB, free: 3.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.164e-05/0.3211, allocations: 68.33 kB / 0.5623 GB, free: 3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3211, allocations: 0 / 0.5623 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.838e-05/0.3212, allocations: 89.03 kB / 0.5624 GB, free: 2.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.3212, allocations: 33.7 kB / 0.5624 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3212, allocations: 0 / 0.5624 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3213, allocations: 0 / 0.5624 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.3213, allocations: 3.938 kB / 0.5624 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3213, allocations: 0 / 0.5624 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.3213, allocations: 0 / 0.5624 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3213, allocations: 8.031 kB / 0.5624 GB, free: 2.844 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.881e-05/0.3214, allocations: 139.5 kB / 0.5626 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.3214, allocations: 0 / 0.5626 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.037e-05/0.3214, allocations: 7 kB / 0.5626 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3214, allocations: 3.938 kB / 0.5626 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3214, allocations: 0 / 0.5626 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3214, allocations: 0 / 0.5626 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.089e-05/0.3215, allocations: 93.33 kB / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3215, allocations: 0 / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.3215, allocations: 7.984 kB / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3215, allocations: 3.938 kB / 0.5627 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3215, allocations: 4 kB / 0.5627 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3215, allocations: 0 / 0.5627 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3215, allocations: 3.938 kB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.3216, allocations: 120.5 kB / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.3216, allocations: 0 / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3216, allocations: 8 kB / 0.5628 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-06/0.3216, allocations: 0 / 0.5628 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.3217, allocations: 3.938 kB / 0.5628 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.3217, allocations: 0 / 0.5628 GB, free: 2.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.817e-05/0.3217, allocations: 79.22 kB / 0.5629 GB, free: 2.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3217, allocations: 4.031 kB / 0.5629 GB, free: 2.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.322, allocations: 87.73 kB / 0.563 GB, free: 2.211 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.000546/0.3226, allocations: 225.3 kB / 0.5632 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.3227, allocations: 110.8 kB / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3227, allocations: 0 / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.3228, allocations: 89.05 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.3229, allocations: 3.094 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.3231, allocations: 136.6 kB / 0.5635 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.3232, allocations: 55.36 kB / 0.5636 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.3232, allocations: 7.438 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3232, allocations: 0 / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Templates: time 0.004305/0.3275, allocations: 1.788 MB / 0.5653 GB, free: 15.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.824626646004617]