Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.007599/0.007599, allocations: 106.2 kB / 21.98 MB, free: 5.219 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.00158/0.00158, allocations: 212.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.687/1.687, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 68.08 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3625, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003399/0.3659, allocations: 1.673 MB / 434.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3671, allocations: 0.5881 MB / 435.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3672, allocations: 4 kB / 435.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.362e-05/0.3673, allocations: 7.875 kB / 435.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.3674, allocations: 19.86 kB / 435.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.3678, allocations: 67.44 kB / 435.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3679, allocations: 67.83 kB / 435.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3681, allocations: 16.16 kB / 435.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3682, allocations: 35.86 kB / 435.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.3683, allocations: 35.83 kB / 435.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3683, allocations: 11.88 kB / 435.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.3684, allocations: 12 kB / 435.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.3684, allocations: 19.92 kB / 435.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.3685, allocations: 31.81 kB / 435.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3687, allocations: 88.83 kB / 435.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3687, allocations: 0 / 435.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3687, allocations: 0 / 435.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3687, allocations: 0 / 435.8 MB, free: 4.285 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.000605/0.3693, allocations: 328.8 kB / 436.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3693, allocations: 8.031 kB / 436.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3695, allocations: 24.83 kB / 436.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.3698, allocations: 146.9 kB / 436.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3698, allocations: 4.375 kB / 436.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3698, allocations: 12.12 kB / 436.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.3702, allocations: 139.8 kB / 436.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3702, allocations: 0 / 436.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3702, allocations: 15.98 kB / 436.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3702, allocations: 3.938 kB / 436.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.3703, allocations: 27.92 kB / 436.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.3708, allocations: 276.7 kB / 436.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3711, allocations: 77.12 kB / 436.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.3711, allocations: 37.8 kB / 436.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3712, allocations: 0 / 436.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.3713, allocations: 71.28 kB / 437 MB, free: 2.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3713, allocations: 4 kB / 437 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003319/0.3716, allocations: 117.8 kB / 437.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.3717, allocations: 81.05 kB / 437.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3719, allocations: 155.6 kB / 437.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3719, allocations: 29.7 kB / 437.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.372, allocations: 88.14 kB / 437.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.372, allocations: 19.89 kB / 437.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.372, allocations: 33.67 kB / 437.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3722, allocations: 318.8 kB / 437.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.3723, allocations: 23.98 kB / 437.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-05/0.3724, allocations: 61.08 kB / 437.9 MB, free: 2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3725, allocations: 93.06 kB / 438 MB, free: 1.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3725, allocations: 0 / 438 MB, free: 1.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002158/0.3727, allocations: 113.6 kB / 438.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3728, allocations: 7.938 kB / 438.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3728, allocations: 0 / 438.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3728, allocations: 4 kB / 438.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.3729, allocations: 15.92 kB / 438.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3729, allocations: 7.938 kB / 438.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.3729, allocations: 8 kB / 438.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.3729, allocations: 4 kB / 438.1 MB, free: 1.727 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.0001237/0.3731, allocations: 136.5 kB / 438.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.3732, allocations: 61.61 kB / 438.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.3732, allocations: 8.641 kB / 438.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3732, allocations: 7.984 kB / 438.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3732, allocations: 3.938 kB / 438.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3732, allocations: 0 / 438.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.3736, allocations: 321.6 kB / 438.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3736, allocations: 0 / 438.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.3737, allocations: 11.98 kB / 438.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3737, allocations: 3.938 kB / 438.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3737, allocations: 8.188 kB / 438.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3737, allocations: 4 kB / 438.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3737, allocations: 0 / 438.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.374, allocations: 200.3 kB / 438.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.374, allocations: 19.88 kB / 438.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3741, allocations: 4 kB / 438.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.3741, allocations: 8 kB / 438.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.3742, allocations: 7.984 kB / 438.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3742, allocations: 0 / 438.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.3743, allocations: 115.2 kB / 439 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3743, allocations: 0 / 439 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3745, allocations: 15.95 kB / 439.1 MB, free: 0.7227 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.000121/0.3746, allocations: 103.2 kB / 439.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.3749, allocations: 64.03 kB / 439.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3749, allocations: 0 / 439.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.768e-05/0.3749, allocations: 23.92 kB / 439.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3753, allocations: 36.03 kB / 439.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.3758, allocations: 234.2 kB / 439.5 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.3762, allocations: 0.7043 MB / 440.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.3762, allocations: 15.44 kB / 440.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3762, allocations: 0 / 440.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Templates: time 0.003122/0.3793, allocations: 1.071 MB / 441.3 MB, free: 14.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.391293344786391]