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.001471/0.001471, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001243/0.001243, allocations: 160.5 kB / 24.56 MB, free: 16 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 0.9686/0.9686, allocations: 177 MB / 204.8 MB, free: 5.406 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.643e-06/1.643e-06, allocations: 3.938 kB / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.261e-05, allocations: 10.25 kB / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002241/0.002273, allocations: 1.711 MB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.003092, allocations: 0.5608 MB / 275.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.00318, allocations: 7.938 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.065e-05/0.003241, allocations: 7.875 kB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.003389, allocations: 19.84 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.003721, allocations: 67.75 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.003826, allocations: 63.77 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003927, allocations: 20.22 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.004058, allocations: 47.83 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.00411, allocations: 19.91 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.004127, allocations: 4 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.869e-05/0.004166, allocations: 16 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.004212, allocations: 19.91 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.004252, allocations: 15.94 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.004401, allocations: 67.67 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.004404, allocations: 0 / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.004405, allocations: 0 / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.00441, allocations: 0 / 275.6 MB, free: 14.61 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.0006472/0.005057, allocations: 424.2 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.005095, allocations: 11.98 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.005234, allocations: 28.83 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.005405, allocations: 156.9 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.005417, allocations: 8.375 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.005428, allocations: 4.375 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.005663, allocations: 145.6 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.00567, allocations: 3.938 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.00568, allocations: 0 / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.005687, allocations: 4 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.37e-05/0.005731, allocations: 23.92 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.006085, allocations: 295.3 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.006248, allocations: 89.97 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.006287, allocations: 31.45 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.006306, allocations: 4 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.37e-05/0.006379, allocations: 61.05 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.00638, allocations: 0 / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001907/0.006571, allocations: 97.56 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.006626, allocations: 89.05 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.006719, allocations: 197.3 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.00673, allocations: 25.7 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.006786, allocations: 146.8 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.006808, allocations: 12.02 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.006852, allocations: 35.31 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.00698, allocations: 0.4922 MB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.007007, allocations: 7.984 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.007044, allocations: 39.05 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.007113, allocations: 51.25 kB / 278 MB, free: 11.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.007116, allocations: 4 kB / 278 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000103/0.007219, allocations: 77.58 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.00724, allocations: 8 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.007247, allocations: 0 / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.007262, allocations: 0 / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.00733, allocations: 11.98 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.007337, allocations: 0 / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.007365, allocations: 4 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.007371, allocations: 4.062 kB / 278.1 MB, free: 11.79 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.728e-05/0.007458, allocations: 168.5 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.007512, allocations: 53.64 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.007546, allocations: 20.45 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.00755, allocations: 4 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.007555, allocations: 0 / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.007559, allocations: 0 / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.008075, allocations: 325.3 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008077, allocations: 4 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.008112, allocations: 8 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.008115, allocations: 8 kB / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008123, allocations: 0 / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.008126, allocations: 3.938 kB / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008127, allocations: 0 / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.008262, allocations: 247.6 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.008293, allocations: 20.11 kB / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.008316, allocations: 8 kB / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.008351, allocations: 0 / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.008386, allocations: 11.97 kB / 279 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.008394, allocations: 4.062 kB / 279 MB, free: 10.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.00845, allocations: 155.1 kB / 279.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00845, allocations: 4 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.008608, allocations: 12 kB / 279.1 MB, free: 10.67 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 9.307e-05/0.008701, allocations: 99.25 kB / 279.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.008814, allocations: 47.61 kB / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008816, allocations: 0 / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.008845, allocations: 19.67 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.009118, allocations: 30.48 kB / 279.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.009628, allocations: 212.5 kB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.009667, allocations: 63.34 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.009695, allocations: 8.719 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.009731, allocations: 16.5 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.009732, allocations: 0 / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of Templates: time 0.002922/0.01265, allocations: 0.8698 MB / 280.5 MB, free: 9.262 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.6889358325861394]