Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 202.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 7.773 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 47.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4035, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003402/0.4069, allocations: 1.652 MB / 433.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4082, allocations: 0.5453 MB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.145e-05/0.4083, allocations: 0 / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.4083, allocations: 7.875 kB / 433.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.4084, allocations: 15.86 kB / 433.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.4088, allocations: 63.81 kB / 433.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.4089, allocations: 67.77 kB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.4091, allocations: 16.22 kB / 434 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.4092, allocations: 39.8 kB / 434 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.4093, allocations: 31.84 kB / 434 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.4093, allocations: 4 kB / 434 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.427e-05/0.4094, allocations: 16 kB / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.4094, allocations: 19.92 kB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.4094, allocations: 27.8 kB / 434.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.4096, allocations: 85.89 kB / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4096, allocations: 0 / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4096, allocations: 0 / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4096, allocations: 3.938 kB / 434.2 MB, free: 4.094 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.0004854/0.4101, allocations: 325.8 kB / 434.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4102, allocations: 12.03 kB / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.4103, allocations: 20.83 kB / 434.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.4106, allocations: 146.9 kB / 434.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4106, allocations: 8.375 kB / 434.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.4106, allocations: 8.125 kB / 434.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.4109, allocations: 136.5 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4109, allocations: 3.938 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.4109, allocations: 4 kB / 434.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4109, allocations: 7.984 kB / 434.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.411, allocations: 35.95 kB / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.4115, allocations: 249.2 kB / 435.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4117, allocations: 69.2 kB / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.4118, allocations: 37.78 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.4118, allocations: 4 kB / 435.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.4119, allocations: 71.3 kB / 435.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.4119, allocations: 0 / 435.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003063/0.4122, allocations: 121.5 kB / 435.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.4123, allocations: 81.11 kB / 435.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.4124, allocations: 156.7 kB / 435.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.4124, allocations: 29.64 kB / 435.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.4125, allocations: 92.14 kB / 435.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.4125, allocations: 15.89 kB / 435.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.4126, allocations: 25.67 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4127, allocations: 326.8 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.4128, allocations: 27.92 kB / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.196e-05/0.4129, allocations: 61.14 kB / 436.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.4131, allocations: 85.02 kB / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4131, allocations: 0 / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000236/0.4133, allocations: 121.5 kB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4133, allocations: 4 kB / 436.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4133, allocations: 0 / 436.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4133, allocations: 4 kB / 436.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.4134, allocations: 11.98 kB / 436.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4134, allocations: 4 kB / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.4135, allocations: 11.94 kB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.4135, allocations: 7.938 kB / 436.5 MB, free: 1.578 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.0001613/0.4136, allocations: 125.9 kB / 436.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.4137, allocations: 57.64 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.4138, allocations: 12.39 kB / 436.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4138, allocations: 4 kB / 436.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4138, allocations: 320 / 436.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4138, allocations: 4.172 kB / 436.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.4142, allocations: 294.2 kB / 436.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4142, allocations: 3.984 kB / 436.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.4142, allocations: 11.98 kB / 437 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.4143, allocations: 4 kB / 437 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4143, allocations: 0 / 437 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4143, allocations: 7.938 kB / 437 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4143, allocations: 3.938 kB / 437 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.4145, allocations: 196.4 kB / 437.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.4146, allocations: 23.88 kB / 437.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.4146, allocations: 4 kB / 437.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.4147, allocations: 3.938 kB / 437.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.4147, allocations: 7.984 kB / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4147, allocations: 0 / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.4148, allocations: 123.3 kB / 437.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4148, allocations: 3.938 kB / 437.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.4151, allocations: 15.95 kB / 437.3 MB, free: 0.6133 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.0001078/0.4152, allocations: 99.25 kB / 437.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4154, allocations: 59.91 kB / 437.5 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4154, allocations: 4 kB / 437.5 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.4154, allocations: 19.92 kB / 437.5 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4158, allocations: 34.19 kB / 437.6 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.4162, allocations: 216.5 kB / 437.8 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.4163, allocations: 88.98 kB / 437.8 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.4164, allocations: 4.438 kB / 437.9 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.4164, allocations: 11.44 kB / 437.9 MB, free: 32 kB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4164, allocations: 0 / 437.9 MB, free: 32 kB / 334.1 MB Notification: Performance of Templates: time 0.003835/0.4202, allocations: 0.9059 MB / 438.8 MB, free: 15.14 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.892507961951196]