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.001775/0.001775, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001631/0.001631, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 8.047 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.001814/0.001814, allocations: 55.91 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3389, allocations: 53.35 MB / 431.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003831/0.3427, allocations: 1.673 MB / 433.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.344, allocations: 0.588 MB / 433.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3441, allocations: 0 / 433.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.712e-05/0.3442, allocations: 11.86 kB / 433.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.3444, allocations: 11.88 kB / 433.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.3448, allocations: 71.8 kB / 434 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.345, allocations: 63.83 kB / 434 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3451, allocations: 12.23 kB / 434.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.3453, allocations: 43.78 kB / 434.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.3453, allocations: 31.84 kB / 434.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3454, allocations: 4 kB / 434.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.3454, allocations: 12 kB / 434.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.3455, allocations: 23.86 kB / 434.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.3455, allocations: 39.78 kB / 434.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.3457, allocations: 76.86 kB / 434.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3457, allocations: 0 / 434.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3458, allocations: 8 kB / 434.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3458, allocations: 0 / 434.3 MB, free: 4.293 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.0006293/0.3464, allocations: 325.8 kB / 434.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3464, allocations: 8.031 kB / 434.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.3466, allocations: 20.84 kB / 434.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3469, allocations: 153.3 kB / 434.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.347, allocations: 4.375 kB / 434.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.347, allocations: 12.12 kB / 434.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3473, allocations: 134.8 kB / 434.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3474, allocations: 7.938 kB / 434.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3474, allocations: 4 kB / 435 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3474, allocations: 4 kB / 435 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3475, allocations: 27.98 kB / 435 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.348, allocations: 280.6 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.3482, allocations: 77.19 kB / 435.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.3483, allocations: 33.8 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3484, allocations: 0 / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.3485, allocations: 79.34 kB / 435.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.3485, allocations: 0 / 435.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003375/0.3488, allocations: 121.7 kB / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.3489, allocations: 81.11 kB / 435.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3491, allocations: 157.6 kB / 435.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3491, allocations: 25.7 kB / 435.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.3492, allocations: 96.12 kB / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3492, allocations: 11.91 kB / 435.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3493, allocations: 29.66 kB / 436 MB, free: 2.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3494, allocations: 322.8 kB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.3495, allocations: 23.98 kB / 436.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.3496, allocations: 65.06 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3497, allocations: 89.02 kB / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3497, allocations: 0 / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002258/0.35, allocations: 117.5 kB / 436.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.35, allocations: 7.438 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.35, allocations: 8 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.35, allocations: 0 / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.3501, allocations: 15.98 kB / 436.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3501, allocations: 3.938 kB / 436.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.3502, allocations: 8 kB / 436.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.3502, allocations: 7.984 kB / 436.6 MB, free: 1.73 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.0001407/0.3503, allocations: 127.4 kB / 436.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.3504, allocations: 57.64 kB / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.3505, allocations: 16.41 kB / 436.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3505, allocations: 3.938 kB / 436.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3505, allocations: 3.938 kB / 436.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3505, allocations: 0 / 436.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.3509, allocations: 317.9 kB / 437.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3509, allocations: 4.062 kB / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.351, allocations: 11.98 kB / 437.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.351, allocations: 7.938 kB / 437.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.351, allocations: 0 / 437.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.351, allocations: 4 kB / 437.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.351, allocations: 3.938 kB / 437.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3513, allocations: 196.4 kB / 437.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3513, allocations: 19.88 kB / 437.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3514, allocations: 11.94 kB / 437.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.3514, allocations: 0 / 437.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3515, allocations: 11.98 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3515, allocations: 96 / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.3516, allocations: 121.8 kB / 437.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3516, allocations: 0 / 437.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3519, allocations: 15.95 kB / 437.5 MB, free: 0.7305 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.0001599/0.352, allocations: 99.25 kB / 437.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.3523, allocations: 60.16 kB / 437.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3523, allocations: 4.062 kB / 437.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.3523, allocations: 23.92 kB / 437.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.3527, allocations: 31.94 kB / 437.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.3533, allocations: 208.7 kB / 437.9 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3537, allocations: 0.7079 MB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.3538, allocations: 8.438 kB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.3538, allocations: 19.44 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3538, allocations: 0 / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Templates: time 0.004395/0.3582, allocations: 0.8441 MB / 439.5 MB, free: 14.68 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: 5.009580068057403]