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.001301/0.001301, allocations: 109.1 kB / 21.18 MB, free: 0.7773 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.001416/0.001416, allocations: 209.5 kB / 24.49 MB, free: 4.164 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.52/1.52, allocations: 230.5 MB / 258.1 MB, free: 8.047 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.002085/0.002085, allocations: 67.89 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3114, allocations: 53.4 MB / 432.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003687/0.3151, allocations: 1.664 MB / 434.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3163, allocations: 0.5881 MB / 434.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3164, allocations: 4 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.751e-05/0.3165, allocations: 11.86 kB / 434.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.3167, allocations: 15.86 kB / 434.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.317, allocations: 63.81 kB / 434.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.3172, allocations: 59.78 kB / 434.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3173, allocations: 28.2 kB / 434.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3174, allocations: 39.8 kB / 434.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.3175, allocations: 27.84 kB / 434.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3175, allocations: 8 kB / 435 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.3176, allocations: 15.94 kB / 435 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.3176, allocations: 23.91 kB / 435 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.3177, allocations: 31.8 kB / 435 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3179, allocations: 80.86 kB / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3179, allocations: 0 / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3179, allocations: 0 / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3179, allocations: 0 / 435.1 MB, free: 4.113 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.0006106/0.3185, allocations: 325.9 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3186, allocations: 8.031 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3187, allocations: 24.83 kB / 435.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.319, allocations: 150.4 kB / 435.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.319, allocations: 8.375 kB / 435.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3191, allocations: 8.125 kB / 435.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.3194, allocations: 141 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3194, allocations: 0 / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3194, allocations: 0 / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3194, allocations: 4 kB / 435.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3195, allocations: 35.86 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.3201, allocations: 280.7 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.3203, allocations: 77.12 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.3204, allocations: 45.8 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3204, allocations: 0 / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.3205, allocations: 71.28 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3205, allocations: 0 / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003211/0.3208, allocations: 117.6 kB / 436.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.3209, allocations: 85.05 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3211, allocations: 153.7 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3211, allocations: 29.7 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.3212, allocations: 92.12 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3212, allocations: 11.91 kB / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.3212, allocations: 33.66 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3214, allocations: 318.8 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.3215, allocations: 27.98 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.3215, allocations: 61.08 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3217, allocations: 89.06 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3217, allocations: 0 / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002085/0.3219, allocations: 117.4 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3219, allocations: 8 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3219, allocations: 0 / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3219, allocations: 4.156 kB / 437.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.322, allocations: 15.98 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.322, allocations: 7.938 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.3221, allocations: 4 kB / 437.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3221, allocations: 8 kB / 437.4 MB, free: 1.547 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.0001273/0.3222, allocations: 129.7 kB / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.3223, allocations: 57.64 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.3224, allocations: 12.34 kB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3224, allocations: 4 kB / 437.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3224, allocations: 7.938 kB / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3224, allocations: 0 / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.3227, allocations: 317.9 kB / 437.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3227, allocations: 0 / 437.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.3228, allocations: 15.98 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3228, allocations: 3.938 kB / 438 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3228, allocations: 4 kB / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3228, allocations: 0 / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3228, allocations: 3.984 kB / 438 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.3231, allocations: 204.4 kB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.3231, allocations: 23.88 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3232, allocations: 0 / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.3232, allocations: 8 kB / 438.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.3233, allocations: 3.984 kB / 438.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3233, allocations: 4 kB / 438.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.357e-05/0.3234, allocations: 118.2 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3234, allocations: 0 / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3236, allocations: 19.95 kB / 438.3 MB, free: 0.543 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.0001131/0.3237, allocations: 99.42 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.3239, allocations: 63.91 kB / 438.5 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.324, allocations: 0 / 438.5 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.324, allocations: 20.23 kB / 438.5 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3244, allocations: 43.95 kB / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.3248, allocations: 234.3 kB / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3251, allocations: 0.7002 MB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.3252, allocations: 15.44 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3252, allocations: 0 / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of Templates: time 0.003202/0.3284, allocations: 1.068 MB / 440.6 MB, free: 14.24 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/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: 7.29111942416057]