Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001334/0.001334, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001551/0.001551, allocations: 208 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold")
translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 60.77 kB / 379 MB, free: 2.645 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3051, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004192/0.3093, allocations: 1.951 MB / 434.4 MB, free: 4.996 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002603/0.3119, allocations: 1.243 MB / 435.6 MB, free: 3.746 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.312, allocations: 7.938 kB / 435.6 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007791/0.3128, allocations: 159.4 kB / 435.8 MB, free: 3.582 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.3134, allocations: 167.4 kB / 435.9 MB, free: 3.418 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.3139, allocations: 171.4 kB / 436.1 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003422/0.3143, allocations: 191.5 kB / 436.3 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3144, allocations: 25.8 kB / 436.3 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3146, allocations: 87.62 kB / 436.4 MB, free: 2.949 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.3147, allocations: 79.61 kB / 436.5 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.3148, allocations: 16 kB / 436.5 MB, free: 2.855 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3149, allocations: 63.89 kB / 436.5 MB, free: 2.793 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.315, allocations: 47.83 kB / 436.6 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3151, allocations: 75.48 kB / 436.7 MB, free: 2.672 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.3156, allocations: 220.7 kB / 436.9 MB, free: 2.465 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3156, allocations: 0 / 436.9 MB, free: 2.465 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.665e-06/0.3156, allocations: 3.938 kB / 436.9 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 9.017e-06/0.3156, allocations: 0 / 436.9 MB, free: 2.461 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.001106/0.3167, allocations: 454.7 kB / 437.3 MB, free: 1.98 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.3168, allocations: 12.03 kB / 437.3 MB, free: 1.969 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.3168, allocations: 24.8 kB / 437.4 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.3172, allocations: 221 kB / 437.6 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3173, allocations: 4.375 kB / 437.6 MB, free: 1.703 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.3173, allocations: 12.12 kB / 437.6 MB, free: 1.691 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.3177, allocations: 171.5 kB / 437.8 MB, free: 1.496 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3177, allocations: 4 kB / 437.8 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3177, allocations: 0 / 437.8 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3177, allocations: 0 / 437.8 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3179, allocations: 43.91 kB / 437.8 MB, free: 1.449 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.3186, allocations: 425.6 kB / 438.2 MB, free: 0.9805 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.3188, allocations: 130.5 kB / 438.4 MB, free: 0.8164 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.319, allocations: 51.42 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.319, allocations: 4 kB / 438.4 MB, free: 0.75 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.3192, allocations: 101.1 kB / 438.5 MB, free: 0.6328 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.3192, allocations: 0 / 438.5 MB, free: 0.6328 MB / 334.1 MB
Notification: Performance of matching and sorting (n=11): time 0.000443/0.3197, allocations: 153.4 kB / 438.7 MB, free: 488 kB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.3198, allocations: 166.6 kB / 438.8 MB, free: 284 kB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.3202, allocations: 277.1 kB / 439.1 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3202, allocations: 33.7 kB / 439.1 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3203, allocations: 116.4 kB / 439.2 MB, free: 15.84 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3204, allocations: 15.91 kB / 439.3 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.3204, allocations: 33.66 kB / 439.3 MB, free: 15.78 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001903/0.3206, allocations: 342.7 kB / 439.6 MB, free: 15.44 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.3207, allocations: 23.98 kB / 439.6 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3208, allocations: 82.23 kB / 439.7 MB, free: 15.31 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.321, allocations: 93.05 kB / 439.8 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.321, allocations: 0 / 439.8 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002652/0.3213, allocations: 125.5 kB / 439.9 MB, free: 15.07 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3213, allocations: 11.94 kB / 439.9 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3213, allocations: 0 / 439.9 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.3213, allocations: 4 kB / 440 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.3214, allocations: 16.08 kB / 440 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3214, allocations: 8 kB / 440 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.3215, allocations: 15.83 kB / 440 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3215, allocations: 4 kB / 440 MB, free: 15.02 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 13
 * 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.0002136/0.3217, allocations: 150.1 kB / 440.1 MB, free: 14.86 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3219, allocations: 69.48 kB / 440.2 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.3222, allocations: 111.3 kB / 440.3 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3222, allocations: 8.062 kB / 440.3 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3222, allocations: 0 / 440.3 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3222, allocations: 3.938 kB / 440.3 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.3225, allocations: 200.7 kB / 440.5 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3225, allocations: 0 / 440.5 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.3225, allocations: 8 kB / 440.5 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3225, allocations: 0 / 440.5 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3225, allocations: 4 kB / 440.5 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3225, allocations: 3.984 kB / 440.5 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3225, allocations: 0 / 440.5 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.3229, allocations: 183.4 kB / 440.7 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.3229, allocations: 35.8 kB / 440.8 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.323, allocations: 8 kB / 440.8 MB, free: 14.15 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.323, allocations: 4 kB / 440.8 MB, free: 14.15 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.3231, allocations: 19.92 kB / 440.8 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3231, allocations: 4 kB / 440.8 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002295/0.3233, allocations: 200.5 kB / 441 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3233, allocations: 0 / 441 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003313/0.3237, allocations: 31.95 kB / 441 MB, free: 13.9 MB / 350.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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u)
 * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.00161/0.3253, allocations: 418.9 kB / 441.4 MB, free: 13.64 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002661/0.3255, allocations: 79.91 kB / 441.5 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3256, allocations: 0 / 441.5 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.3256, allocations: 31.92 kB / 441.5 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3261, allocations: 67.92 kB / 441.6 MB, free: 13.47 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006837/0.3268, allocations: 342 kB / 441.9 MB, free: 13.1 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.3273, allocations: 0.7398 MB / 442.7 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.797e-05/0.3274, allocations: 25.72 kB / 442.7 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.3274, allocations: 15.44 kB / 442.7 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3274, allocations: 0 / 442.7 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of Templates: time 0.007516/0.3349, allocations: 2.633 MB / 445.3 MB, free: 9.68 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 4.929936777800322]