Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001686/0.001686, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001619/0.001619, allocations: 189.3 kB / 23.72 MB, free: 4.68 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.54/1.54, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.91 kB / 370.9 MB, free: 9.348 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3011, allocations: 52.18 MB / 423.1 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003718/0.3048, allocations: 1.896 MB / 425 MB, free: 12.79 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001294/0.3061, allocations: 0.6312 MB / 425.6 MB, free: 12.15 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3063, allocations: 11.94 kB / 425.7 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.3064, allocations: 15.8 kB / 425.7 MB, free: 12.12 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3065, allocations: 27.73 kB / 425.7 MB, free: 12.1 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.307, allocations: 111.1 kB / 425.8 MB, free: 11.99 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002324/0.3072, allocations: 139.6 kB / 425.9 MB, free: 11.86 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.3074, allocations: 41.91 kB / 426 MB, free: 11.81 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3076, allocations: 59.72 kB / 426 MB, free: 11.75 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3077, allocations: 47.72 kB / 426.1 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.3077, allocations: 12 kB / 426.1 MB, free: 11.7 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.3077, allocations: 12 kB / 426.1 MB, free: 11.68 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.3078, allocations: 43.83 kB / 426.2 MB, free: 11.64 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.3079, allocations: 59.61 kB / 426.2 MB, free: 11.58 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.3082, allocations: 148.5 kB / 426.4 MB, free: 11.44 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3082, allocations: 0 / 426.4 MB, free: 11.44 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.182e-06/0.3082, allocations: 0 / 426.4 MB, free: 11.44 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.652e-06/0.3082, allocations: 0 / 426.4 MB, free: 11.44 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.0006818/0.3089, allocations: 377.7 kB / 426.7 MB, free: 11.04 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3089, allocations: 8.031 kB / 426.7 MB, free: 11.04 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.309, allocations: 24.8 kB / 426.8 MB, free: 11.01 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.3093, allocations: 188 kB / 426.9 MB, free: 10.8 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3093, allocations: 12.12 kB / 427 MB, free: 10.79 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3093, allocations: 8 kB / 427 MB, free: 10.78 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.31, allocations: 268.2 kB / 427.2 MB, free: 10.49 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.31, allocations: 3.938 kB / 427.2 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.31, allocations: 4 kB / 427.2 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.31, allocations: 8 kB / 427.2 MB, free: 10.47 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.3102, allocations: 79.86 kB / 427.3 MB, free: 10.39 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.3108, allocations: 394.5 kB / 427.7 MB, free: 9.953 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.3113, allocations: 217 kB / 427.9 MB, free: 9.695 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.3115, allocations: 108.2 kB / 428 MB, free: 9.574 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3115, allocations: 4 kB / 428 MB, free: 9.57 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3116, allocations: 38.56 kB / 428.1 MB, free: 9.523 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.3116, allocations: 4 kB / 428.1 MB, free: 9.52 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0006033/0.3122, allocations: 213.2 kB / 428.3 MB, free: 9.305 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.3123, allocations: 204.2 kB / 428.5 MB, free: 9.062 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3125, allocations: 175.2 kB / 428.6 MB, free: 8.883 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3125, allocations: 29.7 kB / 428.7 MB, free: 8.848 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.3126, allocations: 104.1 kB / 428.8 MB, free: 8.742 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3126, allocations: 11.95 kB / 428.8 MB, free: 8.73 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3127, allocations: 37.7 kB / 428.8 MB, free: 8.688 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001561/0.3128, allocations: 326.8 kB / 429.1 MB, free: 8.359 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.3129, allocations: 23.98 kB / 429.2 MB, free: 8.336 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3131, allocations: 126.6 kB / 429.3 MB, free: 8.16 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.3133, allocations: 165.5 kB / 429.5 MB, free: 7.949 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3133, allocations: 4 kB / 429.5 MB, free: 7.945 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003057/0.3136, allocations: 157.7 kB / 429.6 MB, free: 7.785 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3136, allocations: 14.75 kB / 429.6 MB, free: 7.773 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3136, allocations: 4 kB / 429.6 MB, free: 7.77 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3137, allocations: 4.375 kB / 429.6 MB, free: 7.766 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3138, allocations: 39.92 kB / 429.7 MB, free: 7.727 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.3138, allocations: 11.92 kB / 429.7 MB, free: 7.715 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3139, allocations: 11.89 kB / 429.7 MB, free: 7.703 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3139, allocations: 15.94 kB / 429.7 MB, free: 7.688 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * 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 (17):
 * Single equations (assignments): 17
 * 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.0001452/0.3141, allocations: 129.8 kB / 429.8 MB, free: 7.551 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.3144, allocations: 153.4 kB / 430 MB, free: 7.395 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.3144, allocations: 25.39 kB / 430 MB, free: 7.367 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3145, allocations: 4 kB / 430 MB, free: 7.363 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3145, allocations: 0 / 430 MB, free: 7.363 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3145, allocations: 0 / 430 MB, free: 7.363 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.3148, allocations: 192.5 kB / 430.2 MB, free: 7.133 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3148, allocations: 4 kB / 430.2 MB, free: 7.129 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3149, allocations: 35.91 kB / 430.2 MB, free: 7.094 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.315, allocations: 11.97 kB / 430.3 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.315, allocations: 8 kB / 430.3 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.315, allocations: 0 / 430.3 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.315, allocations: 0 / 430.3 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.3154, allocations: 361.1 kB / 430.6 MB, free: 6.695 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.3155, allocations: 35.83 kB / 430.7 MB, free: 6.66 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.3156, allocations: 7.922 kB / 430.7 MB, free: 6.652 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3157, allocations: 12 kB / 430.7 MB, free: 6.641 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3158, allocations: 3.984 kB / 430.7 MB, free: 6.637 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3158, allocations: 4 kB / 430.7 MB, free: 6.633 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001262/0.3159, allocations: 141.1 kB / 430.8 MB, free: 6.496 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3159, allocations: 4 kB / 430.8 MB, free: 6.492 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003368/0.3162, allocations: 20 kB / 430.8 MB, free: 6.473 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: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (17):
 * Single equations (assignments): 17
 * 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.0001317/0.3164, allocations: 99.48 kB / 430.9 MB, free: 6.367 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003192/0.3167, allocations: 112.6 kB / 431 MB, free: 6.258 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3167, allocations: 4.062 kB / 431.1 MB, free: 6.254 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.3167, allocations: 15.92 kB / 431.1 MB, free: 6.238 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/0.3175, allocations: 100.2 kB / 431.2 MB, free: 6.141 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009665/0.3184, allocations: 355.7 kB / 431.5 MB, free: 5.754 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3189, allocations: 0.728 MB / 432.2 MB, free: 5 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 6.797e-05/0.3189, allocations: 17.48 kB / 432.3 MB, free: 4.977 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.319, allocations: 19.44 kB / 432.3 MB, free: 4.957 MB / 334.1 MB
Notification: Performance of SimCode: time 3.91e-07/0.319, allocations: 0 / 432.3 MB, free: 4.957 MB / 334.1 MB
Notification: Performance of Templates: time 0.00548/0.3245, allocations: 1.794 MB / 434.1 MB, free: 3.191 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.942909432575107]