Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.001602/0.001602, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.00154/0.00154, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.521/1.521, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 44.06 kB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3904, allocations: 52.14 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003525/0.3939, allocations: 1.674 MB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.395, allocations: 0.5103 MB / 423.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.3951, allocations: 0 / 423.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.945e-05/0.3951, allocations: 3.938 kB / 423.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.3953, allocations: 15.86 kB / 423.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.3956, allocations: 59.81 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.3958, allocations: 67.77 kB / 423.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3959, allocations: 20.23 kB / 423.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.396, allocations: 35.78 kB / 423.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.3961, allocations: 31.78 kB / 423.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3961, allocations: 4 kB / 423.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.472e-05/0.3962, allocations: 8 kB / 423.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.3962, allocations: 19.92 kB / 423.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.3963, allocations: 39.73 kB / 423.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.3965, allocations: 68.92 kB / 423.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3965, allocations: 4 kB / 423.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3965, allocations: 0 / 423.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3965, allocations: 4 kB / 423.4 MB, free: 12.57 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.0005966/0.3971, allocations: 402.9 kB / 423.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3971, allocations: 8.031 kB / 423.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.3971, allocations: 8.891 kB / 423.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.3974, allocations: 204.1 kB / 424 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3975, allocations: 8.375 kB / 424.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.3975, allocations: 8.359 kB / 424.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.3978, allocations: 141.3 kB / 424.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3978, allocations: 0 / 424.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3979, allocations: 4 kB / 424.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3979, allocations: 0 / 424.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.398, allocations: 43.89 kB / 424.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.3985, allocations: 305.6 kB / 424.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3988, allocations: 150.2 kB / 424.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.3989, allocations: 45.78 kB / 424.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3989, allocations: 0 / 424.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.399, allocations: 59.34 kB / 424.8 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.399, allocations: 0 / 424.8 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003379/0.3994, allocations: 117.6 kB / 424.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3995, allocations: 89.05 kB / 425 MB, free: 10.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3996, allocations: 144.7 kB / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.3997, allocations: 33.69 kB / 425.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.3997, allocations: 88.14 kB / 425.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3998, allocations: 19.84 kB / 425.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.3998, allocations: 29.7 kB / 425.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4, allocations: 322.8 kB / 425.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.4001, allocations: 23.98 kB / 425.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.4002, allocations: 57.14 kB / 425.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.4004, allocations: 85.33 kB / 425.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4004, allocations: 7.938 kB / 425.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002345/0.4006, allocations: 113.5 kB / 425.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4006, allocations: 4 kB / 425.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4006, allocations: 7.938 kB / 425.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4006, allocations: 4.094 kB / 425.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.4007, allocations: 16 kB / 425.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4007, allocations: 3.984 kB / 425.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.4008, allocations: 8 kB / 425.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4008, allocations: 4 kB / 425.9 MB, free: 9.746 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.0002038/0.401, allocations: 133.1 kB / 426.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.4011, allocations: 57.59 kB / 426.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.4011, allocations: 16.3 kB / 426.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4011, allocations: 0 / 426.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4011, allocations: 4 kB / 426.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.4012, allocations: 4 kB / 426.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.4016, allocations: 346.5 kB / 426.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4016, allocations: 0 / 426.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.4017, allocations: 12.22 kB / 426.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4017, allocations: 4 kB / 426.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.4017, allocations: 0 / 426.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4017, allocations: 0 / 426.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-05/0.4017, allocations: 3.938 kB / 426.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.402, allocations: 208.3 kB / 426.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.4021, allocations: 96.98 kB / 426.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4021, allocations: 4 kB / 426.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.4022, allocations: 4 kB / 426.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.4023, allocations: 7.938 kB / 426.8 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.4023, allocations: 8.109 kB / 426.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.4024, allocations: 115.3 kB / 426.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4024, allocations: 0 / 426.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.4026, allocations: 15.88 kB / 427 MB, free: 8.617 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.0001816/0.4028, allocations: 107.2 kB / 427.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.403, allocations: 59.91 kB / 427.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.403, allocations: 0 / 427.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.4031, allocations: 28.23 kB / 427.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.4035, allocations: 24.06 kB / 427.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.404, allocations: 211.8 kB / 427.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.4045, allocations: 0.7007 MB / 428.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.08e-05/0.4046, allocations: 8.656 kB / 428.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.4046, allocations: 23.38 kB / 428.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4046, allocations: 0 / 428.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of Templates: time 0.003895/0.4085, allocations: 0.82 MB / 428.9 MB, free: 6.594 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.834871375001967]