Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.001594/0.001594, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002549/0.002549, allocations: 211.7 kB / 22.99 MB, free: 5.609 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.633/1.633, allocations: 230.2 MB / 256.2 MB, free: 8.562 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.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3848, allocations: 53.33 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003718/0.3885, allocations: 1.667 MB / 431.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3898, allocations: 0.5882 MB / 432.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3899, allocations: 0 / 432.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.924e-05/0.39, allocations: 11.86 kB / 432.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.3901, allocations: 11.88 kB / 432.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.3905, allocations: 63.8 kB / 432.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.3907, allocations: 71.77 kB / 432.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3908, allocations: 12.23 kB / 432.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.391, allocations: 43.83 kB / 432.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.391, allocations: 23.8 kB / 432.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.391, allocations: 8 kB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-05/0.3911, allocations: 16 kB / 432.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.3912, allocations: 19.92 kB / 432.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.3912, allocations: 43.72 kB / 432.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3914, allocations: 84.84 kB / 432.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3914, allocations: 0 / 432.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3914, allocations: 0 / 432.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3914, allocations: 0 / 432.5 MB, free: 4.879 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006388/0.3921, allocations: 395 kB / 432.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3921, allocations: 12.03 kB / 432.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.3923, allocations: 28.83 kB / 432.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.3926, allocations: 204.7 kB / 433.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3926, allocations: 4.375 kB / 433.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.3927, allocations: 12.12 kB / 433.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.393, allocations: 137 kB / 433.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.393, allocations: 7.969 kB / 433.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.393, allocations: 3.938 kB / 433.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3931, allocations: 4 kB / 433.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3932, allocations: 31.92 kB / 433.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.3937, allocations: 309.6 kB / 433.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.394, allocations: 150.2 kB / 433.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.3941, allocations: 37.8 kB / 433.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3941, allocations: 4 kB / 433.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.3943, allocations: 67.39 kB / 433.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3943, allocations: 0 / 433.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003346/0.3946, allocations: 113.5 kB / 434 MB, free: 3.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.3947, allocations: 85.05 kB / 434 MB, free: 3.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3948, allocations: 157.1 kB / 434.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3949, allocations: 25.7 kB / 434.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.3949, allocations: 104.1 kB / 434.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.395, allocations: 16.02 kB / 434.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.395, allocations: 33.66 kB / 434.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3952, allocations: 314.8 kB / 434.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.3953, allocations: 19.98 kB / 434.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.3954, allocations: 65.12 kB / 434.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3955, allocations: 81.08 kB / 434.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3955, allocations: 0 / 434.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002103/0.3957, allocations: 113.5 kB / 434.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3958, allocations: 8 kB / 435 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3958, allocations: 0 / 435 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3958, allocations: 0 / 435 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.3959, allocations: 19.92 kB / 435 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3959, allocations: 7.922 kB / 435 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.3959, allocations: 11.98 kB / 435 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3959, allocations: 8.156 kB / 435 MB, free: 2.031 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: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001138/0.3961, allocations: 137.6 kB / 435.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.3961, allocations: 53.64 kB / 435.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.3962, allocations: 12.31 kB / 435.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3962, allocations: 240 / 435.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3962, allocations: 3.938 kB / 435.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3962, allocations: 11.97 kB / 435.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.3966, allocations: 346.8 kB / 435.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3966, allocations: 8 kB / 435.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.3967, allocations: 4 kB / 435.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3967, allocations: 7.938 kB / 435.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3967, allocations: 3.984 kB / 435.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3967, allocations: 0 / 435.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3967, allocations: 0 / 435.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.397, allocations: 204.3 kB / 435.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.397, allocations: 92.98 kB / 435.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.3971, allocations: 11.98 kB / 435.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.3971, allocations: 0 / 435.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.3972, allocations: 4 kB / 435.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3972, allocations: 0 / 435.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.231e-05/0.3973, allocations: 118.2 kB / 436 MB, free: 0.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3973, allocations: 0 / 436 MB, free: 0.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.3975, allocations: 15.95 kB / 436 MB, free: 0.9023 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001628/0.3977, allocations: 115.2 kB / 436.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3979, allocations: 59.91 kB / 436.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3979, allocations: 4 kB / 436.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.398, allocations: 16 kB / 436.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3983, allocations: 35.88 kB / 436.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.3988, allocations: 216.5 kB / 436.4 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.3992, allocations: 0.7041 MB / 437.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.3993, allocations: 8.516 kB / 437.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.3993, allocations: 15.38 kB / 437.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3993, allocations: 0 / 437.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Templates: time 0.003749/0.4031, allocations: 0.8325 MB / 438 MB, free: 14.85 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.054279844276607]