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.00123/0.00123, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001284/0.001284, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 18.57 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 0.9896/0.9896, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.803e-06/1.803e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.837e-05, allocations: 9.125 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003358/0.003387, allocations: 1.693 MB / 274.7 MB, free: 48 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004469, allocations: 0.5647 MB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.004578, allocations: 4 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.688e-05/0.004645, allocations: 11.86 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.004801, allocations: 11.86 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.005208, allocations: 71.73 kB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.005359, allocations: 63.77 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.005485, allocations: 12.23 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.005674, allocations: 55.75 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.005744, allocations: 23.92 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.005767, allocations: 4 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.005819, allocations: 11.98 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.005889, allocations: 19.92 kB / 275.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.005933, allocations: 19.92 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.006114, allocations: 63.73 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006117, allocations: 0 / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006118, allocations: 0 / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.006123, allocations: 0 / 275.6 MB, free: 15.11 MB / 266.7 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.0005524/0.006676, allocations: 424.2 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.006737, allocations: 15.98 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.006939, allocations: 28.83 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.007178, allocations: 148.9 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.007204, allocations: 12.36 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.007224, allocations: 8.375 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.00759, allocations: 145.6 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.007604, allocations: 7.938 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.007619, allocations: 0 / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.007633, allocations: 4 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.007695, allocations: 19.91 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.008223, allocations: 299.3 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.008422, allocations: 82.05 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.00848, allocations: 39.39 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.008501, allocations: 0 / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.613e-05/0.008597, allocations: 65 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.008599, allocations: 0 / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004198/0.009018, allocations: 93.56 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.009085, allocations: 85.11 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.009229, allocations: 201.3 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.009245, allocations: 25.7 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.009323, allocations: 150.9 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.009345, allocations: 7.953 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.009393, allocations: 35.33 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.009541, allocations: 0.4922 MB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.009575, allocations: 11.98 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.009624, allocations: 43 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.009703, allocations: 46.98 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009706, allocations: 0 / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001418/0.009847, allocations: 81.58 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.009867, allocations: 6.656 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.009873, allocations: 0 / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.009894, allocations: 4 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.009965, allocations: 7.984 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.009975, allocations: 12 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.01001, allocations: 0 / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.01002, allocations: 4.312 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001009/0.01012, allocations: 164.5 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.01018, allocations: 53.64 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.01022, allocations: 12.47 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01022, allocations: 0 / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.01022, allocations: 4 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01023, allocations: 4.219 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.01054, allocations: 329.3 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.01054, allocations: 7.984 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.01059, allocations: 11.98 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01059, allocations: 0 / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.01061, allocations: 4 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01061, allocations: 7.938 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01061, allocations: 3.938 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.01082, allocations: 243.4 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.01087, allocations: 19.88 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.0109, allocations: 4 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.01095, allocations: 0 / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.01099, allocations: 7.984 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.011, allocations: 11.94 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.529e-05/0.01105, allocations: 143.2 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01105, allocations: 0 / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.01126, allocations: 12 kB / 279.2 MB, free: 11.16 MB / 266.7 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.0001029/0.01136, allocations: 103.2 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.0115, allocations: 43.61 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.0115, allocations: 0 / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.01154, allocations: 19.67 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.01192, allocations: 29.48 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.01256, allocations: 212.4 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.075e-05/0.01262, allocations: 63.34 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.01265, allocations: 4.734 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.01269, allocations: 12.5 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01269, allocations: 0 / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.003535/0.01623, allocations: 0.857 MB / 280.5 MB, free: 9.777 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9519480268936604]