Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.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.001756/0.001756, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001995/0.001995, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.492/1.492, allocations: 230.3 MB / 258 MB, free: 8.16 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.2316/0.2316, allocations: 46.93 MB / 361.4 MB, free: 4.375 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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors")
translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors") [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.002365/0.002365, allocations: 83.86 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3329, allocations: 66.04 MB / 0.5616 GB, free: 4.527 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001661/0.3346, allocations: 497 kB / 0.5621 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001552/0.3361, allocations: 0.7782 MB / 0.5629 GB, free: 3.262 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.3362, allocations: 7.938 kB / 0.5629 GB, free: 3.254 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.3362, allocations: 0 / 0.5629 GB, free: 3.254 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.3362, allocations: 0 / 0.5629 GB, free: 3.254 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001967/0.3382, allocations: 0.685 MB / 0.5636 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.3382, allocations: 4 kB / 0.5636 GB, free: 2.562 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.3382, allocations: 4 kB / 0.5636 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.3383, allocations: 0 / 0.5636 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 1.508e-05/0.3383, allocations: 0 / 0.5636 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.583e-06/0.3383, allocations: 0 / 0.5636 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008905/0.3392, allocations: 475.1 kB / 0.564 GB, free: 2.094 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.284e-06/0.3392, allocations: 0 / 0.564 GB, free: 2.094 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.3392, allocations: 0 / 0.564 GB, free: 2.094 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.3397, allocations: 361.7 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3398, allocations: 4 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.493e-06/0.3398, allocations: 0 / 0.5644 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.911e-06/0.3398, allocations: 0 / 0.5644 GB, free: 1.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.0005774/0.3403, allocations: 319.6 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3404, allocations: 8.031 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.3404, allocations: 4.938 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3405, allocations: 103.6 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3406, allocations: 384 / 0.5648 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.3406, allocations: 384 / 0.5648 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3407, allocations: 34.27 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3407, allocations: 192 / 0.5648 GB, free: 1.215 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3407, allocations: 7.875 kB / 0.5648 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3407, allocations: 4 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.3407, allocations: 4 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.3409, allocations: 124.7 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 3.886e-05/0.3409, allocations: 14.58 kB / 0.565 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.3409, allocations: 8.953 kB / 0.565 GB, free: 1 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.566e-06/0.3409, allocations: 7.938 kB / 0.565 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.341, allocations: 56.27 kB / 0.565 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.341, allocations: 0 / 0.565 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.000178/0.3411, allocations: 75.27 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.3412, allocations: 77.11 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.3412, allocations: 93.81 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3413, allocations: 25.7 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.3413, allocations: 84.27 kB / 0.5654 GB, free: 0.5234 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3413, allocations: 4 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.3413, allocations: 13.72 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001461/0.3415, allocations: 310.8 kB / 0.5657 GB, free: 192 kB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.3415, allocations: 7.984 kB / 0.5657 GB, free: 184 kB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.3415, allocations: 0 / 0.5657 GB, free: 184 kB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.164e-05/0.3416, allocations: 64.27 kB / 0.5658 GB, free: 104 kB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3416, allocations: 0 / 0.5658 GB, free: 104 kB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.212e-05/0.3416, allocations: 63.41 kB / 0.5658 GB, free: 28 kB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.3417, allocations: 37.69 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3417, allocations: 0 / 0.5658 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3417, allocations: 3.938 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-06/0.3417, allocations: 3.984 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3417, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.3417, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3418, allocations: 4 kB / 0.5659 GB, free: 15.97 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 0.0001125/0.3419, allocations: 136.4 kB / 0.566 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.3419, allocations: 4.031 kB / 0.566 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.447e-05/0.3419, allocations: 10.94 kB / 0.566 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.3419, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3419, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3419, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.342, allocations: 120.7 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.342, allocations: 3.938 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/0.342, allocations: 4 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.342, allocations: 0 / 0.5661 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.342, allocations: 3.938 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.342, allocations: 4 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.342, allocations: 0 / 0.5661 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.3421, allocations: 94.77 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.637e-06/0.3421, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3421, allocations: 3.938 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.3422, allocations: 0 / 0.5662 GB, free: 15.51 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.3422, allocations: 8 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3422, allocations: 3.984 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 3.354e-05/0.3422, allocations: 83.25 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.3422, allocations: 0 / 0.5663 GB, free: 15.42 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003659/0.3426, allocations: 87.73 kB / 0.5664 GB, free: 15.33 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.0005138/0.3431, allocations: 209.5 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 9.243e-05/0.3432, allocations: 55.41 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3432, allocations: 0 / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.3432, allocations: 63.41 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.3434, allocations: 7.984 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.3436, allocations: 77.08 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.344, allocations: 0.6729 MB / 0.5675 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.751e-06/0.344, allocations: 0 / 0.5675 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.344, allocations: 7.438 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.344, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of Templates: time 0.006187/0.3502, allocations: 1.951 MB / 0.5694 GB, free: 12.21 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.238042758777738]