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.001413/0.001413, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001609/0.001609, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.604/1.604, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.002428/0.002428, allocations: 63.84 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3643, allocations: 53.31 MB / 432.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.0038/0.3681, allocations: 1.672 MB / 433.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3697, allocations: 0.5843 MB / 434.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.3699, allocations: 0 / 434.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.117e-05/0.37, allocations: 15.81 kB / 434.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.3702, allocations: 7.922 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.3707, allocations: 71.73 kB / 434.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.3709, allocations: 59.84 kB / 434.5 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.371, allocations: 20.22 kB / 434.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.3712, allocations: 35.84 kB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.3713, allocations: 27.8 kB / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3713, allocations: 4 kB / 434.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.3714, allocations: 23.98 kB / 434.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.3715, allocations: 19.91 kB / 434.6 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.3716, allocations: 35.75 kB / 434.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.3719, allocations: 81.12 kB / 434.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.3719, allocations: 8 kB / 434.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3719, allocations: 0 / 434.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3719, allocations: 0 / 434.7 MB, free: 4.746 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.000816/0.3727, allocations: 395 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.3728, allocations: 8.031 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.373, allocations: 28.83 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.3735, allocations: 204.7 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3735, allocations: 4.375 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.3735, allocations: 16.06 kB / 435.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.3739, allocations: 145 kB / 435.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.374, allocations: 0 / 435.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.374, allocations: 4 kB / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.374, allocations: 3.984 kB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3741, allocations: 35.92 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.3748, allocations: 305.6 kB / 435.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.3752, allocations: 146.2 kB / 436 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.3753, allocations: 41.73 kB / 436 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.3753, allocations: 8.047 kB / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.3754, allocations: 71.36 kB / 436.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3754, allocations: 0 / 436.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000371/0.3758, allocations: 121.5 kB / 436.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.3759, allocations: 77.11 kB / 436.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.3761, allocations: 155 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3761, allocations: 33.69 kB / 436.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.3762, allocations: 92.14 kB / 436.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3762, allocations: 15.91 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.3763, allocations: 33.66 kB / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3765, allocations: 322.8 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.3766, allocations: 19.98 kB / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3767, allocations: 61.14 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3768, allocations: 81.08 kB / 437.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3768, allocations: 4 kB / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002386/0.3771, allocations: 113.5 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3771, allocations: 4 kB / 437.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.3771, allocations: 0 / 437.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.3771, allocations: 4 kB / 437.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.312e-05/0.3772, allocations: 11.94 kB / 437.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.3772, allocations: 11.92 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.3773, allocations: 8.156 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3773, allocations: 8 kB / 437.2 MB, free: 1.895 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.0001438/0.3774, allocations: 127.7 kB / 437.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.3775, allocations: 53.64 kB / 437.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.3776, allocations: 12.3 kB / 437.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3776, allocations: 4 kB / 437.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3776, allocations: 3.938 kB / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3776, allocations: 4.172 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.3781, allocations: 354.7 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3781, allocations: 4.047 kB / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.333e-05/0.3781, allocations: 15.98 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3782, allocations: 3.938 kB / 437.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3782, allocations: 7.938 kB / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3782, allocations: 0 / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3782, allocations: 0 / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.3785, allocations: 200.3 kB / 438 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3786, allocations: 101 kB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.3787, allocations: 4 kB / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.3788, allocations: 4 kB / 438.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.3788, allocations: 3.984 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3788, allocations: 4 kB / 438.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.379, allocations: 113.9 kB / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.379, allocations: 0 / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.3792, allocations: 15.94 kB / 438.3 MB, free: 0.7734 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.0002503/0.3795, allocations: 112.3 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.3798, allocations: 59.91 kB / 438.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.3798, allocations: 4 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.3799, allocations: 19.98 kB / 438.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.3804, allocations: 42.69 kB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.381, allocations: 208.6 kB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.3816, allocations: 0.7041 MB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.3817, allocations: 8.422 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.3817, allocations: 11.44 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3817, allocations: 0 / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Templates: time 0.004343/0.3861, allocations: 0.8333 MB / 440.3 MB, free: 14.75 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.02145523019135]