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.001377/0.001377, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001624/0.001624, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.3064/0.3064, allocations: 44.93 MB / 358.8 MB, free: 6.152 MB / 286.1 MB " [Timeout remaining time 179] 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.002049/0.002049, allocations: 74.55 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3584, allocations: 65.46 MB / 0.5574 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002022/0.3604, allocations: 496 kB / 0.5579 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3622, allocations: 0.7199 MB / 0.5586 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.3623, allocations: 4 kB / 0.5586 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.3623, allocations: 0 / 0.5586 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.3623, allocations: 4 kB / 0.5586 GB, free: 6.133 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.00245/0.3647, allocations: 0.6496 MB / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.3648, allocations: 0 / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.3648, allocations: 0 / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.3648, allocations: 3.984 kB / 0.5593 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.133e-05/0.3649, allocations: 0 / 0.5593 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.231e-06/0.3649, allocations: 4 kB / 0.5593 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009123/0.3658, allocations: 403.2 kB / 0.5596 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.3658, allocations: 3.984 kB / 0.5597 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.3658, allocations: 4 kB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.3665, allocations: 337.6 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3665, allocations: 8 kB / 0.56 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3665, allocations: 0 / 0.56 GB, free: 4.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3665, allocations: 0 / 0.56 GB, free: 4.742 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.0005122/0.367, allocations: 311.6 kB / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3671, allocations: 8.031 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.3671, allocations: 0.9375 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.3672, allocations: 115.5 kB / 0.5604 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3672, allocations: 384 / 0.5604 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3673, allocations: 384 / 0.5604 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3674, allocations: 59.97 kB / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3674, allocations: 192 / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3674, allocations: 11.92 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3674, allocations: 0 / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.3675, allocations: 29.7 kB / 0.5605 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.3676, allocations: 93.33 kB / 0.5606 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.3677, allocations: 56.23 kB / 0.5606 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.3677, allocations: 34.5 kB / 0.5607 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3678, allocations: 0 / 0.5607 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/0.3678, allocations: 60.33 kB / 0.5607 GB, free: 3.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.3678, allocations: 0 / 0.5607 GB, free: 3.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002701/0.3681, allocations: 122.8 kB / 0.5608 GB, free: 3.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.3682, allocations: 81.11 kB / 0.5609 GB, free: 3.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.3682, allocations: 93.81 kB / 0.561 GB, free: 3.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3683, allocations: 25.7 kB / 0.561 GB, free: 3.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.3683, allocations: 84.08 kB / 0.5611 GB, free: 3.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3683, allocations: 0 / 0.5611 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.3684, allocations: 13.72 kB / 0.5611 GB, free: 3.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3685, allocations: 314.8 kB / 0.5614 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.3686, allocations: 33.69 kB / 0.5615 GB, free: 2.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.3686, allocations: 29.7 kB / 0.5615 GB, free: 2.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.386e-05/0.3687, allocations: 64.36 kB / 0.5616 GB, free: 2.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3687, allocations: 0 / 0.5616 GB, free: 2.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00012/0.3688, allocations: 93.03 kB / 0.5616 GB, free: 2.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.3688, allocations: 32.2 kB / 0.5617 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3688, allocations: 0 / 0.5617 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3689, allocations: 0 / 0.5617 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-06/0.3689, allocations: 3.938 kB / 0.5617 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3689, allocations: 3.938 kB / 0.5617 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.3689, allocations: 4 kB / 0.5617 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3689, allocations: 4 kB / 0.5617 GB, free: 2.719 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 0.0001248/0.369, allocations: 139.6 kB / 0.5618 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.3691, allocations: 0 / 0.5618 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.3691, allocations: 6.984 kB / 0.5618 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3691, allocations: 3.938 kB / 0.5618 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3691, allocations: 0 / 0.5618 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3691, allocations: 0 / 0.5618 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.3692, allocations: 101.3 kB / 0.5619 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.3692, allocations: 0 / 0.5619 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.3692, allocations: 0 / 0.5619 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3692, allocations: 0 / 0.5619 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3692, allocations: 0 / 0.5619 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3692, allocations: 8 kB / 0.5619 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3692, allocations: 7.875 kB / 0.5619 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.3693, allocations: 116.5 kB / 0.5621 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-06/0.3694, allocations: 4 kB / 0.5621 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3694, allocations: 0 / 0.5621 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.3694, allocations: 3.938 kB / 0.5621 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.3694, allocations: 11.92 kB / 0.5621 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3694, allocations: 4 kB / 0.5621 GB, free: 2.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.3694, allocations: 75.28 kB / 0.5622 GB, free: 2.168 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3694, allocations: 0 / 0.5622 GB, free: 2.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.3699, allocations: 83.77 kB / 0.5622 GB, free: 2.086 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.0006597/0.3705, allocations: 225.1 kB / 0.5624 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3707, allocations: 114.8 kB / 0.5626 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3707, allocations: 0 / 0.5626 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.3708, allocations: 81.11 kB / 0.5626 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.3709, allocations: 4 kB / 0.5626 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.3712, allocations: 102.8 kB / 0.5627 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.3712, allocations: 67.39 kB / 0.5628 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.174e-06/0.3712, allocations: 0 / 0.5628 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.3712, allocations: 11.44 kB / 0.5628 GB, free: 1.391 MB / 398.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3712, allocations: 0 / 0.5628 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Templates: time 0.006736/0.378, allocations: 1.922 MB / 0.5647 GB, free: 15.47 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/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: 5.47715549916029]