Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001391/0.001391, 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.001741/0.001741, allocations: 213.2 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.661/1.661, allocations: 230.3 MB / 257.9 MB, free: 8.23 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 59.89 kB / 378.8 MB, free: 2.781 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4561, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004201/0.4603, allocations: 1.64 MB / 433.8 MB, free: 5.434 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001551/0.4618, allocations: 0.5881 MB / 434.3 MB, free: 4.84 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.462, allocations: 0 / 434.3 MB, free: 4.84 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.462, allocations: 7.875 kB / 434.4 MB, free: 4.832 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.4621, allocations: 19.84 kB / 434.4 MB, free: 4.812 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.4625, allocations: 59.33 kB / 434.4 MB, free: 4.758 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001438/0.4627, allocations: 59.78 kB / 434.5 MB, free: 4.699 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.4628, allocations: 11.98 kB / 434.5 MB, free: 4.688 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.4629, allocations: 35.84 kB / 434.5 MB, free: 4.652 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.463, allocations: 27.86 kB / 434.6 MB, free: 4.625 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.463, allocations: 4 kB / 434.6 MB, free: 4.621 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/0.463, allocations: 4 kB / 434.6 MB, free: 4.617 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.4631, allocations: 15.92 kB / 434.6 MB, free: 4.602 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.4631, allocations: 35.73 kB / 434.6 MB, free: 4.566 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.4633, allocations: 73.34 kB / 434.7 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4633, allocations: 0 / 434.7 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.032e-06/0.4633, allocations: 0 / 434.7 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.739e-06/0.4633, allocations: 0 / 434.7 MB, free: 4.5 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: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0005114/0.4638, allocations: 313.9 kB / 435 MB, free: 4.164 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4639, allocations: 12.03 kB / 435 MB, free: 4.152 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.4641, allocations: 16.88 kB / 435 MB, free: 4.137 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.4644, allocations: 154.4 kB / 435.2 MB, free: 3.965 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4644, allocations: 8.375 kB / 435.2 MB, free: 3.957 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.4644, allocations: 12.06 kB / 435.2 MB, free: 3.945 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.4647, allocations: 138.7 kB / 435.3 MB, free: 3.785 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4647, allocations: 0 / 435.3 MB, free: 3.785 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.4647, allocations: 4 kB / 435.3 MB, free: 3.781 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.4647, allocations: 0 / 435.3 MB, free: 3.781 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.771e-05/0.4648, allocations: 31.92 kB / 435.4 MB, free: 3.75 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.4652, allocations: 258.5 kB / 435.6 MB, free: 3.445 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.4653, allocations: 94.42 kB / 435.7 MB, free: 3.316 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.4654, allocations: 47.42 kB / 435.8 MB, free: 3.258 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4654, allocations: 0 / 435.8 MB, free: 3.258 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4654, allocations: 38.56 kB / 435.8 MB, free: 3.211 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.4654, allocations: 0 / 435.8 MB, free: 3.211 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0002795/0.4657, allocations: 101.5 kB / 435.9 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.4658, allocations: 133 kB / 436 MB, free: 2.945 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.466, allocations: 150.4 kB / 436.2 MB, free: 2.781 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.466, allocations: 29.7 kB / 436.2 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.4661, allocations: 88.08 kB / 436.3 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.4661, allocations: 11.95 kB / 436.3 MB, free: 2.645 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.4661, allocations: 21.66 kB / 436.3 MB, free: 2.617 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001529/0.4663, allocations: 318.8 kB / 436.6 MB, free: 2.297 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.4663, allocations: 11.98 kB / 436.6 MB, free: 2.285 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.4664, allocations: 52.22 kB / 436.7 MB, free: 2.219 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4665, allocations: 60.22 kB / 436.8 MB, free: 2.145 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4665, allocations: 0 / 436.8 MB, free: 2.145 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001759/0.4667, allocations: 85.5 kB / 436.8 MB, free: 2.055 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4667, allocations: 7.938 kB / 436.8 MB, free: 2.047 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4667, allocations: 4 kB / 436.9 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4667, allocations: 0 / 436.9 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.4668, allocations: 15.98 kB / 436.9 MB, free: 2.027 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4668, allocations: 0 / 436.9 MB, free: 2.027 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.4669, allocations: 12.09 kB / 436.9 MB, free: 2.016 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.4669, allocations: 4 kB / 436.9 MB, free: 2.012 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (6):
 * Single equations (assignments): 6
 * 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.0001139/0.467, allocations: 117.8 kB / 437 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/0.4671, allocations: 57.58 kB / 437.1 MB, free: 1.824 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.4672, allocations: 19.91 kB / 437.1 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4672, allocations: 4 kB / 437.1 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4672, allocations: 3.938 kB / 437.1 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4672, allocations: 3.938 kB / 437.1 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.4674, allocations: 156.8 kB / 437.2 MB, free: 1.594 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4674, allocations: 0 / 437.2 MB, free: 1.594 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.4674, allocations: 12 kB / 437.3 MB, free: 1.582 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4674, allocations: 0 / 437.3 MB, free: 1.582 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4675, allocations: 0 / 437.3 MB, free: 1.582 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4675, allocations: 12.05 kB / 437.3 MB, free: 1.57 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.4675, allocations: 4 kB / 437.3 MB, free: 1.566 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.4677, allocations: 202 kB / 437.5 MB, free: 1.344 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.4678, allocations: 27.86 kB / 437.5 MB, free: 1.316 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.4678, allocations: 0 / 437.5 MB, free: 1.316 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.4678, allocations: 4 kB / 437.5 MB, free: 1.312 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4679, allocations: 3.938 kB / 437.5 MB, free: 1.309 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4679, allocations: 7.938 kB / 437.5 MB, free: 1.301 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001092/0.468, allocations: 122.2 kB / 437.6 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.468, allocations: 0 / 437.6 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002336/0.4682, allocations: 4 kB / 437.6 MB, free: 1.18 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 6
 * 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.0001092/0.4684, allocations: 99.23 kB / 437.7 MB, free: 1.074 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.00019/0.4685, allocations: 39.92 kB / 437.8 MB, free: 1.035 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4685, allocations: 0 / 437.8 MB, free: 1.035 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.198e-05/0.4686, allocations: 20.3 kB / 437.8 MB, free: 1.016 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.469, allocations: 38.44 kB / 437.8 MB, free: 0.9805 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.4695, allocations: 205.8 kB / 438 MB, free: 0.7461 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.47, allocations: 0.6966 MB / 438.7 MB, free: 24 kB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.991e-05/0.47, allocations: 11.94 kB / 438.7 MB, free: 12 kB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.4701, allocations: 11.44 kB / 438.7 MB, free: 0 / 334.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.4701, allocations: 0 / 438.7 MB, free: 0 / 334.1 MB
Notification: Performance of Templates: time 0.004215/0.4743, allocations: 0.7587 MB / 439.5 MB, free: 15.25 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.293724033050239]