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.001438/0.001438, allocations: 95.5 kB / 21.19 MB, free: 3.363 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.001614/0.001614, allocations: 156.5 kB / 24.55 MB, free: 8 kB / 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 1.039/1.039, allocations: 177 MB / 204.8 MB, free: 5.609 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 2.254e-06/2.254e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.719e-05, allocations: 5.125 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002715/0.002753, allocations: 1.708 MB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.003672, allocations: 0.5608 MB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.003769, allocations: 7.938 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.098e-05/0.003829, allocations: 7.875 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.003998, allocations: 19.86 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.004346, allocations: 63.73 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.004475, allocations: 67.77 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.004598, allocations: 20.22 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.004749, allocations: 47.83 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.00481, allocations: 19.91 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.00483, allocations: 4 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.004879, allocations: 16 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.004937, allocations: 19.91 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.004975, allocations: 15.94 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.00514, allocations: 67.67 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.005144, allocations: 4 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005146, allocations: 0 / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.005151, allocations: 0 / 275.6 MB, free: 14.8 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.0005003/0.005652, allocations: 420.2 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.005699, allocations: 11.98 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.005856, allocations: 28.83 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.006055, allocations: 160.9 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.006066, allocations: 384 / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.006081, allocations: 12.38 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.006372, allocations: 141.6 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.006382, allocations: 3.938 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.006394, allocations: 0 / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.006402, allocations: 4 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.006455, allocations: 23.91 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.006858, allocations: 299.3 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.00704, allocations: 82.05 kB / 276.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.007084, allocations: 35.39 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.007109, allocations: 4 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/0.007195, allocations: 57.06 kB / 276.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.007197, allocations: 0 / 276.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002267/0.007423, allocations: 101.5 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.007492, allocations: 89.05 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.007604, allocations: 197.3 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.007618, allocations: 25.7 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.007683, allocations: 146.8 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.007703, allocations: 12.02 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.007743, allocations: 35.31 kB / 277.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.007882, allocations: 0.4922 MB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.007906, allocations: 7.984 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.007944, allocations: 39.05 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/0.008008, allocations: 55 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.00801, allocations: 0 / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001015/0.008111, allocations: 73.83 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.008129, allocations: 8 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.008135, allocations: 4.062 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.008151, allocations: 0 / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.008237, allocations: 11.98 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.008246, allocations: 0 / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.008272, allocations: 4 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.008279, allocations: 8.062 kB / 278.1 MB, free: 11.98 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 8.514e-05/0.008364, allocations: 164.5 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.008419, allocations: 53.64 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.00846, allocations: 20.45 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.008465, allocations: 4 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.008469, allocations: 0 / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008473, allocations: 0 / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.008745, allocations: 325.5 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.008749, allocations: 7.984 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.008786, allocations: 4 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.008791, allocations: 11.98 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.008799, allocations: 0 / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008801, allocations: 0 / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008803, allocations: 3.938 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.008944, allocations: 247.6 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.00898, allocations: 23.88 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.009007, allocations: 4 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/0.009042, allocations: 0 / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.009084, allocations: 11.92 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.009092, allocations: 3.938 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.009161, allocations: 151.2 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009162, allocations: 4 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.009312, allocations: 12 kB / 279.1 MB, free: 10.86 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.0001011/0.009413, allocations: 99.25 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.009533, allocations: 43.61 kB / 279.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009535, allocations: 0 / 279.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.009569, allocations: 23.86 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.009861, allocations: 26.86 kB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.01044, allocations: 216.5 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.542e-05/0.01048, allocations: 63.34 kB / 279.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.926e-05/0.01051, allocations: 4.734 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.01055, allocations: 20.48 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01056, allocations: 0 / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Templates: time 0.003395/0.01395, allocations: 0.8357 MB / 280.5 MB, free: 9.488 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: 3.1161408191546798]