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.0009116/0.0009116, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009357/0.0009357, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9766/0.9766, allocations: 177 MB / 205.2 MB, free: 5.031 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.104e-06/2.104e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.616e-05, allocations: 5.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002195/0.002221, allocations: 1.704 MB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.003, allocations: 0.5723 MB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.00308, allocations: 4 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.003128, allocations: 7.875 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.003256, allocations: 11.86 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.003505, allocations: 75.67 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.003599, allocations: 59.78 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.003683, allocations: 24.2 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.003796, allocations: 51.77 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.003843, allocations: 19.91 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.003858, allocations: 8 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.003892, allocations: 8 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.003933, allocations: 27.91 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.003957, allocations: 15.94 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.004064, allocations: 55.8 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004066, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004066, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004069, allocations: 4 kB / 276 MB, free: 14.38 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.0003165/0.004386, allocations: 300.4 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.004416, allocations: 19.97 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.00451, allocations: 20.92 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.004637, allocations: 142.2 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004645, allocations: 4.375 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.004658, allocations: 8.375 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.004822, allocations: 134.2 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.004829, allocations: 7.875 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.004836, allocations: 4 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.00484, allocations: 0 / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.004866, allocations: 11.98 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.005076, allocations: 181 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.00518, allocations: 57.14 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.005202, allocations: 21.7 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.005218, allocations: 7.938 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.005273, allocations: 63.41 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005274, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001118/0.005386, allocations: 73.8 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.005433, allocations: 81.11 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.005499, allocations: 139.8 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.005509, allocations: 29.7 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.005541, allocations: 92.08 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.005555, allocations: 11.94 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.005584, allocations: 29.66 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.005657, allocations: 322.8 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.005675, allocations: 8.062 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.005696, allocations: 26.56 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.005736, allocations: 54.42 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005738, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.796e-05/0.005796, allocations: 65.55 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.005807, allocations: 8 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.00581, allocations: 0 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.00582, allocations: 0 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.019e-05/0.005861, allocations: 11.94 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.005864, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.005884, allocations: 8.062 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.00589, allocations: 3.984 kB / 277.9 MB, free: 12.26 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 6.086e-05/0.005951, allocations: 124 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.005978, allocations: 45.62 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.006002, allocations: 16.47 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.006003, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006005, allocations: 4 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.006009, allocations: 3.984 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.006152, allocations: 210.7 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006153, allocations: 0 / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.006176, allocations: 15.92 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006179, allocations: 8 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.006184, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006184, allocations: 128 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.006186, allocations: 4 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.83e-05/0.006254, allocations: 156.3 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.006277, allocations: 16.14 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.00629, allocations: 0 / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.00632, allocations: 0 / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.006346, allocations: 15.97 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.00635, allocations: 0 / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.154e-05/0.006372, allocations: 28.83 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006372, allocations: 4 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001224/0.006494, allocations: 19.94 kB / 278.6 MB, free: 11.54 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.0003259/0.00682, allocations: 88.22 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.818e-05/0.006888, allocations: 40.91 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.006891, allocations: 4 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/0.006912, allocations: 12.86 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.00708, allocations: 25.42 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.007446, allocations: 214.8 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.007481, allocations: 67.28 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.431e-05/0.007506, allocations: 8.719 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.007557, allocations: 55.38 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007558, allocations: 0 / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Templates: time 0.002329/0.009886, allocations: 0.8823 MB / 280 MB, free: 10.11 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.714934889227152]