Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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.001484/0.001484, 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.001651/0.001651, 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.349/1.349, allocations: 230.3 MB / 258 MB, free: 8.246 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.2058/0.2058, allocations: 46.88 MB / 361.3 MB, free: 4.465 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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator")
translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 84.05 kB / 0.497 GB, free: 7.613 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2649, allocations: 66.02 MB / 0.5615 GB, free: 4.785 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002992/0.2679, allocations: 1.661 MB / 0.5631 GB, free: 3.117 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001099/0.269, allocations: 0.6087 MB / 0.5637 GB, free: 2.504 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.269, allocations: 4 kB / 0.5637 GB, free: 2.5 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.2691, allocations: 11.86 kB / 0.5638 GB, free: 2.488 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.2692, allocations: 11.88 kB / 0.5638 GB, free: 2.477 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.2695, allocations: 95.12 kB / 0.5639 GB, free: 2.387 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001727/0.2697, allocations: 107.8 kB / 0.564 GB, free: 2.281 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2698, allocations: 30.78 kB / 0.564 GB, free: 2.254 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.2699, allocations: 43.84 kB / 0.564 GB, free: 2.211 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.2699, allocations: 51.77 kB / 0.5641 GB, free: 2.16 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.27, allocations: 8 kB / 0.5641 GB, free: 2.152 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.27, allocations: 8 kB / 0.5641 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.27, allocations: 19.92 kB / 0.5641 GB, free: 2.125 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.2701, allocations: 39.8 kB / 0.5641 GB, free: 2.086 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.2702, allocations: 95.5 kB / 0.5642 GB, free: 1.992 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2702, allocations: 0 / 0.5642 GB, free: 1.992 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.082e-06/0.2702, allocations: 0 / 0.5642 GB, free: 1.992 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.16e-06/0.2702, allocations: 0 / 0.5642 GB, free: 1.992 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0006293/0.2709, allocations: 350.8 kB / 0.5646 GB, free: 1.617 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2709, allocations: 8.031 kB / 0.5646 GB, free: 1.609 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.2709, allocations: 12.89 kB / 0.5646 GB, free: 1.598 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.2712, allocations: 146.3 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2712, allocations: 4.375 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.2712, allocations: 8.375 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.2715, allocations: 113.8 kB / 0.5649 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2715, allocations: 0 / 0.5649 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2715, allocations: 0 / 0.5649 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2715, allocations: 4 kB / 0.5649 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.2717, allocations: 47.97 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.2724, allocations: 367.6 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.2728, allocations: 98.52 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2729, allocations: 32.91 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2729, allocations: 4 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.2732, allocations: 103.3 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.2732, allocations: 0 / 0.5655 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0004741/0.2736, allocations: 141.6 kB / 0.5656 GB, free: 456 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2737, allocations: 59.28 kB / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2738, allocations: 153.4 kB / 0.5658 GB, free: 224 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.2738, allocations: 25.7 kB / 0.5658 GB, free: 192 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.2739, allocations: 100.1 kB / 0.5659 GB, free: 88 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.2739, allocations: 23.84 kB / 0.566 GB, free: 64 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.274, allocations: 21.72 kB / 0.566 GB, free: 36 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001703/0.2741, allocations: 318.8 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.2743, allocations: 47.91 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2744, allocations: 53.62 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.2746, allocations: 69.69 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2746, allocations: 0 / 0.5664 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000298/0.2749, allocations: 125.5 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2749, allocations: 11.94 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2749, allocations: 4.031 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.275, allocations: 0 / 0.5666 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2751, allocations: 19.98 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2751, allocations: 0 / 0.5666 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.2752, allocations: 24.06 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.2752, allocations: 0 / 0.5666 GB, free: 15.35 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (10):
 * Single equations (assignments): 10
 * 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 0.0001085/0.2753, allocations: 124 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.2753, allocations: 20.12 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.2753, allocations: 8.719 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2753, allocations: 4 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2753, allocations: 7.922 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2753, allocations: 0 / 0.5668 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.2759, allocations: 369.5 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2759, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.276, allocations: 11.98 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.276, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.276, allocations: 4 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.276, allocations: 0 / 0.5672 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.276, allocations: 0 / 0.5672 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.2765, allocations: 251.3 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.2765, allocations: 7.906 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.2765, allocations: 7.984 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2767, allocations: 20.05 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.2767, allocations: 15.97 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2767, allocations: 0 / 0.5674 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 9.964e-05/0.2768, allocations: 111.3 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.2768, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002319/0.2771, allocations: 23.92 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (integrator.y)
 * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart)
 * Number of discrete states: 1 (change.u)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001025/0.2772, allocations: 91.25 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003135/0.2775, allocations: 91.81 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2775, allocations: 0 / 0.5677 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000141/0.2776, allocations: 44.38 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.2779, allocations: 15.98 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.2789, allocations: 266.7 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.2792, allocations: 0.7041 MB / 0.5687 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.389e-05/0.2793, allocations: 8.484 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.2793, allocations: 11.44 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.2793, allocations: 0 / 0.5688 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of Templates: time 0.00412/0.2834, allocations: 1.28 MB / 0.57 GB, free: 11.75 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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.434689888730645]