Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001856/0.001856, allocations: 110.5 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.003071/0.003071, 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.611/1.611, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB
"
[Timeout remaining time 178]
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(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4017, allocations: 53.36 MB / 432.1 MB, free: 7.055 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004181/0.4059, allocations: 1.896 MB / 434 MB, free: 5.152 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001768/0.4077, allocations: 0.7052 MB / 434.7 MB, free: 4.445 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.4078, allocations: 11.88 kB / 434.7 MB, free: 4.434 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000173/0.408, allocations: 23.8 kB / 434.8 MB, free: 4.41 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.4082, allocations: 23.8 kB / 434.8 MB, free: 4.387 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.4087, allocations: 119.2 kB / 434.9 MB, free: 4.273 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002566/0.4089, allocations: 151.5 kB / 435 MB, free: 4.125 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.4091, allocations: 49.53 kB / 435.1 MB, free: 4.078 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.4093, allocations: 59.78 kB / 435.2 MB, free: 4.02 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4094, allocations: 55.64 kB / 435.2 MB, free: 3.965 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.4094, allocations: 12 kB / 435.2 MB, free: 3.953 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.4095, allocations: 20 kB / 435.2 MB, free: 3.934 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.4096, allocations: 31.91 kB / 435.3 MB, free: 3.902 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.789e-05/0.4097, allocations: 63.55 kB / 435.3 MB, free: 3.84 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.41, allocations: 142.4 kB / 435.5 MB, free: 3.703 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.41, allocations: 3.938 kB / 435.5 MB, free: 3.699 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.744e-06/0.41, allocations: 0 / 435.5 MB, free: 3.699 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.592e-06/0.41, allocations: 3.938 kB / 435.5 MB, free: 3.695 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 22
 * Number of variables: 22
Notification: Performance of Generate backend data structure: time 0.0007727/0.4107, allocations: 381.7 kB / 435.9 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4108, allocations: 8.031 kB / 435.9 MB, free: 3.285 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.411, allocations: 28.83 kB / 435.9 MB, free: 3.258 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.4114, allocations: 190.3 kB / 436.1 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4114, allocations: 12.12 kB / 436.1 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.4114, allocations: 4 kB / 436.1 MB, free: 3.031 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.4122, allocations: 294 kB / 436.4 MB, free: 2.719 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4122, allocations: 3.938 kB / 436.4 MB, free: 2.715 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.4122, allocations: 4 kB / 436.4 MB, free: 2.711 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4122, allocations: 4 kB / 436.4 MB, free: 2.707 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.4124, allocations: 71.88 kB / 436.5 MB, free: 2.637 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.4132, allocations: 402.5 kB / 436.9 MB, free: 2.188 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.4137, allocations: 209 kB / 437.1 MB, free: 1.938 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.4139, allocations: 100.3 kB / 437.2 MB, free: 1.824 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.4139, allocations: 15.98 kB / 437.2 MB, free: 1.809 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.414, allocations: 38.5 kB / 437.2 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.414, allocations: 0 / 437.2 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of matching and sorting (n=18): time 0.0006344/0.4146, allocations: 225.6 kB / 437.4 MB, free: 1.535 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.4148, allocations: 191.9 kB / 437.6 MB, free: 1.305 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.415, allocations: 187.1 kB / 437.8 MB, free: 1.113 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.4151, allocations: 33.7 kB / 437.8 MB, free: 1.074 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.4152, allocations: 108.4 kB / 437.9 MB, free: 0.9609 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.4152, allocations: 15.94 kB / 438 MB, free: 0.9453 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.4153, allocations: 37.73 kB / 438 MB, free: 0.9023 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001906/0.4154, allocations: 334.8 kB / 438.3 MB, free: 0.5664 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.4155, allocations: 19.98 kB / 438.3 MB, free: 0.5469 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.4158, allocations: 137.9 kB / 438.5 MB, free: 368 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.4161, allocations: 174.4 kB / 438.6 MB, free: 140 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4161, allocations: 0 / 438.6 MB, free: 140 kB / 334.1 MB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004101/0.4165, allocations: 181.2 kB / 438.8 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4165, allocations: 8 kB / 438.8 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4165, allocations: 4 kB / 438.8 MB, free: 15.94 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.4165, allocations: 4 kB / 438.8 MB, free: 15.94 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.4167, allocations: 36.11 kB / 438.9 MB, free: 15.9 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.4167, allocations: 12.52 kB / 438.9 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4168, allocations: 15.89 kB / 438.9 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.4168, allocations: 12 kB / 438.9 MB, free: 15.86 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 17
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (hold1.compDelay.ubuf)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (19):
 * Single equations (assignments): 19
 * 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.0001716/0.417, allocations: 145.7 kB / 439.1 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.4173, allocations: 137.5 kB / 439.2 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.4174, allocations: 33.27 kB / 439.2 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4174, allocations: 0 / 439.2 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.4174, allocations: 8 kB / 439.2 MB, free: 15.53 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.4174, allocations: 7.969 kB / 439.2 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.4177, allocations: 192.6 kB / 439.4 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4177, allocations: 0 / 439.4 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.4178, allocations: 43.91 kB / 439.5 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4178, allocations: 0 / 439.5 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4179, allocations: 8 kB / 439.5 MB, free: 15.24 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4179, allocations: 0 / 439.5 MB, free: 15.24 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4179, allocations: 4 kB / 439.5 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.4183, allocations: 365 kB / 439.8 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.4184, allocations: 27.88 kB / 439.9 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.4184, allocations: 8 kB / 439.9 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4186, allocations: 19.98 kB / 439.9 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.4186, allocations: 3.938 kB / 439.9 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4186, allocations: 4 kB / 439.9 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002008/0.4188, allocations: 136.4 kB / 440 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.4188, allocations: 0 / 440 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003309/0.4192, allocations: 27.95 kB / 440.1 MB, free: 14.63 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (hold1.compDelay.ubuf)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (18):
 * Single equations (assignments): 18
 * 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 0.000131/0.4193, allocations: 107.1 kB / 440.2 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000352/0.4197, allocations: 115.8 kB / 440.3 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4197, allocations: 0 / 440.3 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.4197, allocations: 11.98 kB / 440.3 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.4204, allocations: 105 kB / 440.4 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.4211, allocations: 331.4 kB / 440.7 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.4215, allocations: 0.7281 MB / 441.4 MB, free: 13.17 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 6.645e-05/0.4216, allocations: 17.67 kB / 441.5 MB, free: 13.15 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.4217, allocations: 15.44 kB / 441.5 MB, free: 13.14 MB / 350.1 MB
Notification: Performance of SimCode: time 2.7e-07/0.4217, allocations: 0 / 441.5 MB, free: 13.14 MB / 350.1 MB
Notification: Performance of Templates: time 0.005812/0.4275, allocations: 1.87 MB / 443.3 MB, free: 11.29 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.061823338270187]