Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001472/0.001472, allocations: 112 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.001709/0.001709, allocations: 180.8 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.484/1.484, allocations: 225.6 MB / 252.5 MB, free: 13 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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 47.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3668, allocations: 52.18 MB / 423.1 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004047/0.3709, allocations: 1.941 MB / 425 MB, free: 12.73 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00241/0.3733, allocations: 1.095 MB / 426.1 MB, free: 11.63 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.3735, allocations: 7.938 kB / 426.2 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008585/0.3743, allocations: 159 kB / 426.3 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.3748, allocations: 111.6 kB / 426.4 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.3756, allocations: 214.7 kB / 426.6 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003207/0.3759, allocations: 187.5 kB / 426.8 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.376, allocations: 21.73 kB / 426.8 MB, free: 10.95 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3762, allocations: 87.56 kB / 426.9 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3763, allocations: 79.67 kB / 427 MB, free: 10.79 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3763, allocations: 8 kB / 427 MB, free: 10.78 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.3765, allocations: 59.91 kB / 427.1 MB, free: 10.72 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.037e-05/0.3766, allocations: 47.83 kB / 427.1 MB, free: 10.67 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.3767, allocations: 79.48 kB / 427.2 MB, free: 10.59 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000381/0.3771, allocations: 208.4 kB / 427.4 MB, free: 10.4 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3771, allocations: 0 / 427.4 MB, free: 10.4 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.583e-06/0.3771, allocations: 3.938 kB / 427.4 MB, free: 10.39 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 2.187e-05/0.3771, allocations: 0 / 427.4 MB, free: 10.39 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.0008942/0.378, allocations: 458.7 kB / 427.8 MB, free: 9.91 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.378, allocations: 8.031 kB / 427.8 MB, free: 9.902 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.3781, allocations: 20.8 kB / 427.9 MB, free: 9.883 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.3785, allocations: 209.2 kB / 428.1 MB, free: 9.652 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.3785, allocations: 12.3 kB / 428.1 MB, free: 9.641 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3785, allocations: 12.12 kB / 428.1 MB, free: 9.629 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.3789, allocations: 155.6 kB / 428.2 MB, free: 9.449 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3789, allocations: 3.938 kB / 428.3 MB, free: 9.445 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.379, allocations: 7.984 kB / 428.3 MB, free: 9.438 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.379, allocations: 0 / 428.3 MB, free: 9.438 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3791, allocations: 39.91 kB / 428.3 MB, free: 9.398 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.3797, allocations: 433.5 kB / 428.7 MB, free: 8.922 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.3801, allocations: 126.5 kB / 428.8 MB, free: 8.762 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3802, allocations: 55.42 kB / 428.9 MB, free: 8.695 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.3802, allocations: 4 kB / 428.9 MB, free: 8.691 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.3805, allocations: 97.03 kB / 429 MB, free: 8.578 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.3805, allocations: 0 / 429 MB, free: 8.578 MB / 334.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0004464/0.381, allocations: 153.4 kB / 429.1 MB, free: 8.422 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.3811, allocations: 162.2 kB / 429.3 MB, free: 8.227 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.3814, allocations: 268.9 kB / 429.6 MB, free: 7.957 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3814, allocations: 26.08 kB / 429.6 MB, free: 7.926 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/0.3815, allocations: 124.4 kB / 429.7 MB, free: 7.797 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.3815, allocations: 23.91 kB / 429.7 MB, free: 7.773 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.3816, allocations: 33.7 kB / 429.8 MB, free: 7.734 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001653/0.3818, allocations: 330.8 kB / 430.1 MB, free: 7.402 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.3818, allocations: 23.98 kB / 430.1 MB, free: 7.379 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.382, allocations: 86.78 kB / 430.2 MB, free: 7.27 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3821, allocations: 85.34 kB / 430.3 MB, free: 7.168 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3821, allocations: 8.031 kB / 430.3 MB, free: 7.16 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002545/0.3824, allocations: 129.4 kB / 430.4 MB, free: 7.027 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3824, allocations: 4 kB / 430.4 MB, free: 7.023 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3824, allocations: 4 kB / 430.4 MB, free: 7.02 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3824, allocations: 0 / 430.4 MB, free: 7.02 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.3825, allocations: 19.94 kB / 430.4 MB, free: 7 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3825, allocations: 0 / 430.4 MB, free: 7 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.3826, allocations: 15.92 kB / 430.5 MB, free: 6.984 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3826, allocations: 8.156 kB / 430.5 MB, free: 6.977 MB / 334.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.0001483/0.3828, allocations: 145.8 kB / 430.6 MB, free: 6.824 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.383, allocations: 65.5 kB / 430.7 MB, free: 6.754 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.3832, allocations: 111.3 kB / 430.8 MB, free: 6.637 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3832, allocations: 4 kB / 430.8 MB, free: 6.633 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3832, allocations: 0 / 430.8 MB, free: 6.633 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3832, allocations: 11.86 kB / 430.8 MB, free: 6.621 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.3836, allocations: 200.7 kB / 431 MB, free: 6.383 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3836, allocations: 0 / 431 MB, free: 6.383 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.3836, allocations: 11.98 kB / 431 MB, free: 6.371 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3836, allocations: 0 / 431 MB, free: 6.371 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3836, allocations: 8 kB / 431 MB, free: 6.363 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3836, allocations: 0 / 431 MB, free: 6.363 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3836, allocations: 0 / 431 MB, free: 6.363 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.3839, allocations: 179.4 kB / 431.2 MB, free: 6.16 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.384, allocations: 28.02 kB / 431.2 MB, free: 6.133 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.384, allocations: 8 kB / 431.2 MB, free: 6.125 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.3841, allocations: 11.94 kB / 431.2 MB, free: 6.113 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.3841, allocations: 7.922 kB / 431.2 MB, free: 6.105 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3842, allocations: 8 kB / 431.3 MB, free: 6.098 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.000217/0.3844, allocations: 192.5 kB / 431.4 MB, free: 5.91 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3844, allocations: 4 kB / 431.4 MB, free: 5.906 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003142/0.3847, allocations: 35.89 kB / 431.5 MB, free: 5.871 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: 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.001635/0.3863, allocations: 416.3 kB / 431.9 MB, free: 5.617 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002978/0.3866, allocations: 79.91 kB / 432 MB, free: 5.539 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3866, allocations: 3.938 kB / 432 MB, free: 5.535 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.3867, allocations: 32.23 kB / 432 MB, free: 5.504 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.3872, allocations: 68.34 kB / 432.1 MB, free: 5.438 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.3879, allocations: 325.5 kB / 432.4 MB, free: 5.086 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.3886, allocations: 0.7399 MB / 433.1 MB, free: 4.32 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 8.476e-05/0.3887, allocations: 25.45 kB / 433.2 MB, free: 4.293 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.3888, allocations: 23.44 kB / 433.2 MB, free: 4.27 MB / 334.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3888, allocations: 0 / 433.2 MB, free: 4.27 MB / 334.1 MB
Notification: Performance of Templates: time 0.006824/0.3956, allocations: 2.604 MB / 435.8 MB, free: 1.695 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.940655614249408]