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.0009684/0.0009684, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00113/0.00113, allocations: 171.9 kB / 24.82 MB, free: 9.273 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 1.001/1.001, allocations: 177 MB / 205.1 MB, free: 5.48 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.523e-06/1.523e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.622e-05, allocations: 6.25 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.00308/0.003106, allocations: 1.693 MB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.004244, allocations: 0.5608 MB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.004368, allocations: 3.938 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.536e-05/0.004423, allocations: 11.92 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.004584, allocations: 11.81 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.00493, allocations: 71.67 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.00507, allocations: 71.75 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.005191, allocations: 12.23 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.005357, allocations: 55.81 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.005412, allocations: 19.92 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.005433, allocations: 4 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.005477, allocations: 8 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.005525, allocations: 23.91 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.005552, allocations: 19.92 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.005685, allocations: 63.73 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.005687, allocations: 0 / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005688, allocations: 0 / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.005692, allocations: 0 / 276 MB, free: 14.58 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.000462/0.006154, allocations: 428.1 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.006203, allocations: 19.98 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.006331, allocations: 32.83 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.006483, allocations: 145 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.006494, allocations: 4.375 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.006504, allocations: 8.375 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.006701, allocations: 148.4 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.006709, allocations: 3.938 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.006718, allocations: 0 / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.006722, allocations: 4 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.759e-05/0.00675, allocations: 11.98 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.007085, allocations: 276 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.007229, allocations: 82.09 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.007259, allocations: 35.39 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.007282, allocations: 11.98 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/0.007357, allocations: 53.06 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.007359, allocations: 0 / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001698/0.007529, allocations: 85.56 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.007581, allocations: 89.09 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.007683, allocations: 197.2 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.007699, allocations: 29.7 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.007765, allocations: 138.8 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.007786, allocations: 11.94 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.007826, allocations: 39.25 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.007997, allocations: 0.4922 MB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.008022, allocations: 15.98 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.008058, allocations: 38.98 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/0.008119, allocations: 46.98 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.008121, allocations: 3.938 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001024/0.008224, allocations: 73.58 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.008243, allocations: 7.125 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.008251, allocations: 0 / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.00827, allocations: 4 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.00834, allocations: 12.05 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.008347, allocations: 4 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.008372, allocations: 320 / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.008381, allocations: 4 kB / 278.5 MB, free: 11.8 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.0001184/0.008499, allocations: 168.5 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.008559, allocations: 57.64 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.008602, allocations: 8.469 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.008609, allocations: 7.984 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.008612, allocations: 0 / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.008617, allocations: 0 / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.008909, allocations: 309.9 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008912, allocations: 0 / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.00895, allocations: 12 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008953, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.008958, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.008962, allocations: 3.984 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.008964, allocations: 4 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.009076, allocations: 219.5 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.009106, allocations: 23.86 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.009123, allocations: 4.234 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.009157, allocations: 4 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.009187, allocations: 11.98 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.009194, allocations: 3.984 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.689e-05/0.009251, allocations: 143.1 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009251, allocations: 4 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.009394, allocations: 8 kB / 279.4 MB, free: 10.76 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.000112/0.009506, allocations: 103.2 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.009598, allocations: 43.59 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.009601, allocations: 0 / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.009632, allocations: 23.61 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.009897, allocations: 32.81 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.01035, allocations: 204.8 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.01039, allocations: 67.34 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.01042, allocations: 4.734 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.01049, allocations: 78.19 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01049, allocations: 0 / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002799/0.01329, allocations: 0.9113 MB / 280.9 MB, free: 9.25 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.821001335978508]