Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.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.001511/0.001511, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001717/0.001717, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.343/1.343, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB
"
[Timeout remaining time 179]
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.2028/0.2028, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis")
translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 79.81 kB / 0.497 GB, free: 7.602 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2864, allocations: 66.02 MB / 0.5615 GB, free: 4.652 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002554/0.2889, allocations: 1.48 MB / 0.563 GB, free: 3.164 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0007996/0.2897, allocations: 490.8 kB / 0.5634 GB, free: 2.68 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.2898, allocations: 3.938 kB / 0.5634 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.2898, allocations: 0 / 0.5634 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.2899, allocations: 7.875 kB / 0.5634 GB, free: 2.668 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.2901, allocations: 31.95 kB / 0.5635 GB, free: 2.637 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 9.985e-05/0.2902, allocations: 39.8 kB / 0.5635 GB, free: 2.598 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.2902, allocations: 4 kB / 0.5635 GB, free: 2.594 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.2904, allocations: 27.97 kB / 0.5635 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.2904, allocations: 15.92 kB / 0.5636 GB, free: 2.551 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2904, allocations: 4 kB / 0.5636 GB, free: 2.547 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.2905, allocations: 8 kB / 0.5636 GB, free: 2.539 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.2905, allocations: 11.92 kB / 0.5636 GB, free: 2.527 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.2905, allocations: 11.94 kB / 0.5636 GB, free: 2.516 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2906, allocations: 39.55 kB / 0.5636 GB, free: 2.48 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2906, allocations: 3.938 kB / 0.5636 GB, free: 2.477 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.122e-06/0.2906, allocations: 0 / 0.5636 GB, free: 2.477 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.428e-06/0.2906, allocations: 0 / 0.5636 GB, free: 2.477 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0004162/0.2911, allocations: 281 kB / 0.5639 GB, free: 2.176 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2911, allocations: 15.97 kB / 0.5639 GB, free: 2.16 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.2912, allocations: 12.92 kB / 0.5639 GB, free: 2.148 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.2914, allocations: 114.5 kB / 0.564 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2914, allocations: 4.375 kB / 0.564 GB, free: 2.008 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.2914, allocations: 4.359 kB / 0.564 GB, free: 2.004 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2916, allocations: 59.7 kB / 0.5641 GB, free: 1.934 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2916, allocations: 3.938 kB / 0.5641 GB, free: 1.93 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2916, allocations: 4 kB / 0.5641 GB, free: 1.926 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2916, allocations: 4 kB / 0.5641 GB, free: 1.922 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.2917, allocations: 23.92 kB / 0.5641 GB, free: 1.898 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.292, allocations: 235.9 kB / 0.5644 GB, free: 1.625 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.2921, allocations: 30.56 kB / 0.5644 GB, free: 1.586 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.2922, allocations: 16.92 kB / 0.5644 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2922, allocations: 4 kB / 0.5644 GB, free: 1.562 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.2922, allocations: 30.56 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2922, allocations: 3.938 kB / 0.5644 GB, free: 1.52 MB / 398.1 MB
Notification: Performance of matching and sorting (n=2): time 0.0002227/0.2924, allocations: 65.67 kB / 0.5645 GB, free: 1.449 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.2925, allocations: 77.11 kB / 0.5646 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.2926, allocations: 109.8 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2926, allocations: 29.83 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.2926, allocations: 88.12 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.2927, allocations: 11.89 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.2927, allocations: 13.72 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001216/0.2928, allocations: 322.8 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.2929, allocations: 8 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.2929, allocations: 29.64 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.293, allocations: 32.81 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.293, allocations: 0 / 0.5652 GB, free: 0.6797 MB / 398.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001269/0.2931, allocations: 57.67 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2931, allocations: 10.19 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2931, allocations: 0 / 0.5653 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2932, allocations: 0 / 0.5653 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.2932, allocations: 4 kB / 0.5653 GB, free: 0.6055 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2932, allocations: 0 / 0.5653 GB, free: 0.6055 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2933, allocations: 15.94 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2933, allocations: 3.938 kB / 0.5653 GB, free: 0.5859 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: 2 (hysteresis.y,$PRE.hysteresis.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 7.971e-05/0.2934, allocations: 121.7 kB / 0.5654 GB, free: 468 kB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.2934, allocations: 8 kB / 0.5654 GB, free: 460 kB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.2934, allocations: 4 kB / 0.5654 GB, free: 452 kB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2934, allocations: 3.984 kB / 0.5654 GB, free: 448 kB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2934, allocations: 0 / 0.5654 GB, free: 448 kB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.2934, allocations: 0 / 0.5654 GB, free: 448 kB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.2936, allocations: 148.6 kB / 0.5656 GB, free: 256 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2936, allocations: 4.141 kB / 0.5656 GB, free: 252 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.2936, allocations: 4 kB / 0.5656 GB, free: 248 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2936, allocations: 3.984 kB / 0.5656 GB, free: 244 kB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.2936, allocations: 0 / 0.5656 GB, free: 244 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2936, allocations: 0 / 0.5656 GB, free: 244 kB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2936, allocations: 0 / 0.5656 GB, free: 244 kB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.2938, allocations: 155.4 kB / 0.5657 GB, free: 72 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.2938, allocations: 8.031 kB / 0.5657 GB, free: 64 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2938, allocations: 4 kB / 0.5657 GB, free: 60 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.2939, allocations: 7.984 kB / 0.5657 GB, free: 52 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.294, allocations: 11.92 kB / 0.5657 GB, free: 40 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.294, allocations: 0 / 0.5657 GB, free: 40 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 6.662e-05/0.2941, allocations: 91.27 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2941, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002097/0.2943, allocations: 4 kB / 0.5658 GB, free: 15.95 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 (hysteresis.y)
 * Number of discrete states: 1 (hysteresis.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 8.436e-05/0.2943, allocations: 95.25 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001484/0.2945, allocations: 27.98 kB / 0.566 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2945, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.2945, allocations: 11.98 kB / 0.566 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.2947, allocations: 7.938 kB / 0.566 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.295, allocations: 126.9 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.2953, allocations: 0.6807 MB / 0.5668 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 2.855e-05/0.2953, allocations: 4 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.2953, allocations: 7.438 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of SimCode: time 2.8e-07/0.2953, allocations: 0 / 0.5668 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of Templates: time 0.002761/0.2981, allocations: 0.6093 MB / 0.5674 GB, free: 14.33 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.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: 4.624999104067683]