Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 184.2 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 51.92 kB / 370.9 MB, free: 9.324 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3052, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004123/0.3093, allocations: 1.889 MB / 425 MB, free: 12.76 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001626/0.3109, allocations: 0.6345 MB / 425.7 MB, free: 12.12 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.3111, allocations: 7.938 kB / 425.7 MB, free: 12.12 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3113, allocations: 31.67 kB / 425.7 MB, free: 12.09 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.3115, allocations: 23.8 kB / 425.7 MB, free: 12.06 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.312, allocations: 99.77 kB / 425.8 MB, free: 11.96 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002679/0.3122, allocations: 143.6 kB / 426 MB, free: 11.82 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.3124, allocations: 41.89 kB / 426 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3126, allocations: 55.78 kB / 426 MB, free: 11.73 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3127, allocations: 51.7 kB / 426.1 MB, free: 11.68 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.3127, allocations: 12 kB / 426.1 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.736e-05/0.3127, allocations: 11.94 kB / 426.1 MB, free: 11.65 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.3128, allocations: 35.86 kB / 426.2 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.3129, allocations: 59.61 kB / 426.2 MB, free: 11.56 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.3132, allocations: 144.6 kB / 426.4 MB, free: 11.42 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3132, allocations: 0 / 426.4 MB, free: 11.42 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.323e-06/0.3132, allocations: 0 / 426.4 MB, free: 11.42 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.674e-06/0.3132, allocations: 7.938 kB / 426.4 MB, free: 11.41 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.0007178/0.3139, allocations: 381.6 kB / 426.7 MB, free: 11.01 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.314, allocations: 8.031 kB / 426.7 MB, free: 11 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.314, allocations: 24.78 kB / 426.8 MB, free: 10.98 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.3144, allocations: 184.1 kB / 426.9 MB, free: 10.77 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3144, allocations: 12.12 kB / 427 MB, free: 10.76 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3145, allocations: 12 kB / 427 MB, free: 10.75 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.3151, allocations: 287.6 kB / 427.3 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3151, allocations: 0 / 427.3 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.3152, allocations: 7.984 kB / 427.3 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3152, allocations: 8 kB / 427.3 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.3154, allocations: 71.89 kB / 427.3 MB, free: 10.36 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.316, allocations: 402.5 kB / 427.7 MB, free: 9.906 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.3165, allocations: 213 kB / 427.9 MB, free: 9.652 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.3167, allocations: 112.3 kB / 428 MB, free: 9.527 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.3168, allocations: 3.984 kB / 428.1 MB, free: 9.523 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3168, allocations: 38.5 kB / 428.1 MB, free: 9.477 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.3168, allocations: 0 / 428.1 MB, free: 9.477 MB / 334.1 MB
Notification: Performance of matching and sorting (n=18): time 0.0006708/0.3175, allocations: 217.4 kB / 428.3 MB, free: 9.258 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002004/0.3177, allocations: 195.9 kB / 428.5 MB, free: 9.023 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3179, allocations: 179.2 kB / 428.7 MB, free: 8.84 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.3179, allocations: 33.64 kB / 428.7 MB, free: 8.801 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.318, allocations: 104.9 kB / 428.8 MB, free: 8.691 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3181, allocations: 19.89 kB / 428.8 MB, free: 8.672 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.3181, allocations: 41.64 kB / 428.9 MB, free: 8.625 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001488/0.3183, allocations: 322.8 kB / 429.2 MB, free: 8.301 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.3183, allocations: 27.98 kB / 429.2 MB, free: 8.273 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.3185, allocations: 138 kB / 429.3 MB, free: 8.086 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.3187, allocations: 166.4 kB / 429.5 MB, free: 7.871 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3187, allocations: 4 kB / 429.5 MB, free: 7.867 MB / 334.1 MB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002991/0.319, allocations: 177.2 kB / 429.7 MB, free: 7.688 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3191, allocations: 8 kB / 429.7 MB, free: 7.68 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3191, allocations: 12.45 kB / 429.7 MB, free: 7.668 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.3191, allocations: 8 kB / 429.7 MB, free: 7.66 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3192, allocations: 39.97 kB / 429.7 MB, free: 7.621 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3193, allocations: 7.938 kB / 429.8 MB, free: 7.613 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3194, allocations: 19.83 kB / 429.8 MB, free: 7.594 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3194, allocations: 12 kB / 429.8 MB, free: 7.582 MB / 334.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.0001343/0.3195, allocations: 137.7 kB / 429.9 MB, free: 7.438 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.3198, allocations: 145.4 kB / 430.1 MB, free: 7.289 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.3199, allocations: 25.42 kB / 430.1 MB, free: 7.262 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3199, allocations: 4 kB / 430.1 MB, free: 7.258 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3199, allocations: 4 kB / 430.1 MB, free: 7.254 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3199, allocations: 3.938 kB / 430.1 MB, free: 7.25 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.3202, allocations: 192.6 kB / 430.3 MB, free: 7.02 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3202, allocations: 0 / 430.3 MB, free: 7.02 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.3203, allocations: 35.92 kB / 430.3 MB, free: 6.984 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3203, allocations: 4 kB / 430.3 MB, free: 6.98 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3204, allocations: 3.984 kB / 430.3 MB, free: 6.977 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.3204, allocations: 4 kB / 430.3 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3204, allocations: 4 kB / 430.3 MB, free: 6.969 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.3208, allocations: 361 kB / 430.7 MB, free: 6.59 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.3209, allocations: 43.78 kB / 430.7 MB, free: 6.547 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.321, allocations: 8 kB / 430.7 MB, free: 6.539 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3211, allocations: 7.984 kB / 430.8 MB, free: 6.531 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3211, allocations: 15.94 kB / 430.8 MB, free: 6.516 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3212, allocations: 4 kB / 430.8 MB, free: 6.512 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001233/0.3213, allocations: 137.1 kB / 430.9 MB, free: 6.379 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3213, allocations: 4 kB / 430.9 MB, free: 6.375 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003278/0.3216, allocations: 20 kB / 430.9 MB, free: 6.355 MB / 334.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.0001222/0.3217, allocations: 103.2 kB / 431 MB, free: 6.246 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003175/0.322, allocations: 111.8 kB / 431.1 MB, free: 6.137 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.322, allocations: 5.062 kB / 431.1 MB, free: 6.133 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.112e-05/0.3221, allocations: 11.98 kB / 431.2 MB, free: 6.121 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.3228, allocations: 117.1 kB / 431.3 MB, free: 6.008 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/0.3235, allocations: 319.5 kB / 431.6 MB, free: 5.656 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.3239, allocations: 0.7397 MB / 432.3 MB, free: 4.891 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 6.679e-05/0.324, allocations: 13.48 kB / 432.3 MB, free: 4.871 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.3241, allocations: 15.44 kB / 432.3 MB, free: 4.855 MB / 334.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3241, allocations: 0 / 432.3 MB, free: 4.855 MB / 334.1 MB
Notification: Performance of Templates: time 0.005319/0.3294, allocations: 1.852 MB / 434.2 MB, free: 3.023 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.933226639404893]