Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.001561/0.001561, 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.00174/0.00174, allocations: 213.9 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.535/1.535, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles")
translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 75.88 kB / 0.497 GB, free: 7.625 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3775, allocations: 66.03 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001814/0.3793, allocations: 487.4 kB / 0.562 GB, free: 4.148 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002402/0.3817, allocations: 1.381 MB / 0.5633 GB, free: 2.766 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.3817, allocations: 0 / 0.5633 GB, free: 2.766 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.3817, allocations: 4 kB / 0.5633 GB, free: 2.762 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000184/0.3819, allocations: 8 kB / 0.5633 GB, free: 2.754 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:466:3-498:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'.
Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3831, allocations: 257.1 kB / 0.5636 GB, free: 2.504 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.3832, allocations: 7.938 kB / 0.5636 GB, free: 2.496 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.3832, allocations: 4 kB / 0.5636 GB, free: 2.492 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.3832, allocations: 3.984 kB / 0.5636 GB, free: 2.488 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.3833, allocations: 4 kB / 0.5636 GB, free: 2.484 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.3833, allocations: 0 / 0.5636 GB, free: 2.484 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004143/0.3875, allocations: 0.748 MB / 0.5643 GB, free: 1.863 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.3875, allocations: 0 / 0.5643 GB, free: 1.863 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.3875, allocations: 0 / 0.5643 GB, free: 1.863 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000325/0.3878, allocations: 182.2 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3878, allocations: 0 / 0.5645 GB, free: 1.691 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.443e-06/0.3878, allocations: 4 kB / 0.5645 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.55e-06/0.3878, allocations: 0 / 0.5645 GB, free: 1.688 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.0004497/0.3883, allocations: 319.6 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3883, allocations: 8.031 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.3884, allocations: 4.938 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3885, allocations: 110.5 kB / 0.5649 GB, free: 1.191 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3885, allocations: 384 / 0.5649 GB, free: 1.191 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.3885, allocations: 384 / 0.5649 GB, free: 1.191 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.3886, allocations: 42.19 kB / 0.565 GB, free: 1.145 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3886, allocations: 192 / 0.565 GB, free: 1.145 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3886, allocations: 3.938 kB / 0.565 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3886, allocations: 0 / 0.565 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.3886, allocations: 3.938 kB / 0.565 GB, free: 1.137 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3888, allocations: 116.8 kB / 0.5651 GB, free: 0.9805 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.3888, allocations: 18.58 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.3889, allocations: 12.94 kB / 0.5651 GB, free: 0.9375 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.3889, allocations: 4 kB / 0.5651 GB, free: 0.9336 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/0.3889, allocations: 56.27 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.3889, allocations: 0 / 0.5652 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002104/0.3891, allocations: 71.28 kB / 0.5652 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.3892, allocations: 85.09 kB / 0.5653 GB, free: 0.6797 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.3893, allocations: 89.86 kB / 0.5654 GB, free: 0.582 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3893, allocations: 29.7 kB / 0.5654 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.3894, allocations: 84.39 kB / 0.5655 GB, free: 472 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.3894, allocations: 0 / 0.5655 GB, free: 472 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.3894, allocations: 9.719 kB / 0.5655 GB, free: 456 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001621/0.3896, allocations: 318.8 kB / 0.5658 GB, free: 128 kB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.3896, allocations: 0 / 0.5658 GB, free: 128 kB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.3896, allocations: 0 / 0.5658 GB, free: 128 kB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.3896, allocations: 64.25 kB / 0.5659 GB, free: 48 kB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3896, allocations: 0 / 0.5659 GB, free: 48 kB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001038/0.3897, allocations: 75.55 kB / 0.566 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.3898, allocations: 33.7 kB / 0.566 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3898, allocations: 3.75 kB / 0.566 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3898, allocations: 0 / 0.566 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-06/0.3898, allocations: 3.984 kB / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3898, allocations: 0 / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.3898, allocations: 0 / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.3898, allocations: 4 kB / 0.566 GB, free: 15.91 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 9.978e-05/0.3899, allocations: 131.6 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.3899, allocations: 7.938 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.39, allocations: 7.156 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.39, allocations: 0 / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.39, allocations: 0 / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.39, allocations: 7.875 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3901, allocations: 124.8 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3901, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.3901, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3901, allocations: 3.938 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3901, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.3901, allocations: 4 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3901, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.3902, allocations: 102.8 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.228e-06/0.3902, allocations: 4 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3902, allocations: 3.938 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.3902, allocations: 3.984 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.3903, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3903, allocations: 8.016 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 3.598e-05/0.3903, allocations: 79.28 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3903, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002963/0.3906, allocations: 59.86 kB / 0.5665 GB, free: 15.29 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.0008006/0.3914, allocations: 324.1 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001083/0.3915, allocations: 67.34 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3915, allocations: 3.938 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.3915, allocations: 51.41 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.3917, allocations: 13.28 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.3919, allocations: 84.98 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3922, allocations: 0.6729 MB / 0.5677 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.442e-06/0.3922, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.3922, allocations: 7.438 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of SimCode: time 2.4e-07/0.3922, allocations: 0 / 0.5677 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of Templates: time 0.005189/0.3974, allocations: 1.599 MB / 0.5693 GB, free: 12.44 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.295221369713545]