Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.001442/0.001442, 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.00233/0.00233, 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.342/1.342, allocations: 230.3 MB / 258 MB, free: 8.254 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.2105/0.2105, allocations: 46.9 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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator")
translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 75.88 kB / 0.497 GB, free: 7.629 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2646, allocations: 66.03 MB / 0.5615 GB, free: 4.668 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002733/0.2674, allocations: 1.642 MB / 0.5631 GB, free: 3.02 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0008529/0.2682, allocations: 0.5308 MB / 0.5636 GB, free: 2.484 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.2683, allocations: 0 / 0.5636 GB, free: 2.484 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.2684, allocations: 15.86 kB / 0.5637 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.2685, allocations: 11.88 kB / 0.5637 GB, free: 2.457 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.2686, allocations: 31.91 kB / 0.5637 GB, free: 2.426 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001322/0.2687, allocations: 79.77 kB / 0.5638 GB, free: 2.348 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2688, allocations: 27.86 kB / 0.5638 GB, free: 2.32 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.2689, allocations: 31.86 kB / 0.5638 GB, free: 2.289 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.269, allocations: 39.78 kB / 0.5639 GB, free: 2.25 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.269, allocations: 4 kB / 0.5639 GB, free: 2.246 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.269, allocations: 8 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.269, allocations: 8 kB / 0.5639 GB, free: 2.23 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.2691, allocations: 43.72 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2692, allocations: 74.53 kB / 0.564 GB, free: 2.117 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2692, allocations: 0 / 0.564 GB, free: 2.117 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.183e-06/0.2692, allocations: 0 / 0.564 GB, free: 2.117 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.929e-06/0.2692, allocations: 0 / 0.564 GB, free: 2.117 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0005217/0.2697, allocations: 330.8 kB / 0.5643 GB, free: 1.762 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2698, allocations: 15.97 kB / 0.5643 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.2698, allocations: 8.891 kB / 0.5643 GB, free: 1.738 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.27, allocations: 138.4 kB / 0.5645 GB, free: 1.578 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.27, allocations: 4.375 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.27, allocations: 8.375 kB / 0.5645 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2702, allocations: 73.98 kB / 0.5646 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2702, allocations: 3.938 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2702, allocations: 4 kB / 0.5646 GB, free: 1.48 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2702, allocations: 4 kB / 0.5646 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.2703, allocations: 43.91 kB / 0.5646 GB, free: 1.434 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.2708, allocations: 319.6 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.2709, allocations: 42.61 kB / 0.565 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.271, allocations: 20.89 kB / 0.565 GB, free: 1.004 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.271, allocations: 4 kB / 0.565 GB, free: 1 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.2711, allocations: 67.39 kB / 0.565 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2711, allocations: 0 / 0.565 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0002027/0.2713, allocations: 89.52 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.2713, allocations: 59.39 kB / 0.5652 GB, free: 0.7578 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2714, allocations: 135.9 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2715, allocations: 29.7 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.2715, allocations: 108.1 kB / 0.5654 GB, free: 484 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.2716, allocations: 23.97 kB / 0.5655 GB, free: 460 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.2716, allocations: 21.72 kB / 0.5655 GB, free: 432 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001235/0.2717, allocations: 318.8 kB / 0.5658 GB, free: 104 kB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.2718, allocations: 15.98 kB / 0.5658 GB, free: 88 kB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.288e-05/0.2718, allocations: 38.52 kB / 0.5658 GB, free: 40 kB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.2719, allocations: 54.56 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2719, allocations: 3.938 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001416/0.2721, allocations: 89.53 kB / 0.566 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2721, allocations: 8 kB / 0.566 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2721, allocations: 0 / 0.566 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2721, allocations: 3.938 kB / 0.566 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.2722, allocations: 11.94 kB / 0.566 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2722, allocations: 64 / 0.566 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.2722, allocations: 11.98 kB / 0.566 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2722, allocations: 4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,fallingEdge.not_u,$PRE.fallingEdge.not_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 9.289e-05/0.2723, allocations: 121.8 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.2723, allocations: 7.953 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.2724, allocations: 20.64 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2724, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.2724, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2724, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.2727, allocations: 329.7 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2727, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.2728, allocations: 7.938 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2728, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.2728, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2728, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2728, allocations: 4 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.273, allocations: 199.8 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.273, allocations: 12.05 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.273, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.2731, allocations: 11.98 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.2732, allocations: 7.984 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2732, allocations: 0 / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 7.507e-05/0.2733, allocations: 105.8 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2733, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002288/0.2735, allocations: 23.92 kB / 0.5668 GB, free: 14.93 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,fallingEdge.not_u,booleanPulse.pulseStart)
 * Number of discrete states: 1 (fallingEdge.not_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 8.842e-05/0.2736, allocations: 95.25 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001384/0.2737, allocations: 47.92 kB / 0.567 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2737, allocations: 7.938 kB / 0.567 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.2738, allocations: 16 kB / 0.567 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.274, allocations: 30.61 kB / 0.567 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.2745, allocations: 198.6 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.2748, allocations: 0.6969 MB / 0.5679 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 3.3e-05/0.2748, allocations: 8.422 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.2748, allocations: 11.44 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.2748, allocations: 0 / 0.5679 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of Templates: time 0.003401/0.2782, allocations: 0.9641 MB / 0.5689 GB, free: 12.8 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.404463056474924]