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.000877/0.000877, allocations: 84.73 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.0009839/0.0009839, allocations: 170.1 kB / 24.91 MB, free: 8.758 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.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.43 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.724e-06/1.724e-06, allocations: 3.938 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.389e-05, allocations: 2.312 kB / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002967/0.003001, allocations: 1.747 MB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.004026, allocations: 0.5684 MB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.004146, allocations: 7.938 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.657e-05/0.004212, allocations: 11.86 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.004393, allocations: 15.86 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.004751, allocations: 67.73 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.004873, allocations: 63.77 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004989, allocations: 16.23 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.005148, allocations: 51.81 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.005216, allocations: 23.91 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.005235, allocations: 4 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.005302, allocations: 15.94 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.005357, allocations: 19.92 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.005391, allocations: 23.91 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.005562, allocations: 55.75 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.005565, allocations: 0 / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005566, allocations: 0 / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.005571, allocations: 0 / 276.1 MB, free: 14.44 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.0004234/0.005995, allocations: 296.5 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.00604, allocations: 19.98 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.006187, allocations: 20.92 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.00639, allocations: 146.1 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.006402, allocations: 8.375 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.006413, allocations: 4.375 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.006625, allocations: 130.2 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006636, allocations: 7.938 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.006646, allocations: 7.984 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.006651, allocations: 0 / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.182e-05/0.006683, allocations: 15.94 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.006964, allocations: 177 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.007089, allocations: 61.14 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.007114, allocations: 21.8 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.007134, allocations: 11.94 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.59e-05/0.007199, allocations: 55.41 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.007201, allocations: 0 / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001335/0.007335, allocations: 73.59 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.007398, allocations: 88.98 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.007481, allocations: 142 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.007494, allocations: 29.7 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.00753, allocations: 88.08 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.007548, allocations: 15.94 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.007583, allocations: 29.66 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.007669, allocations: 314.8 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.007685, allocations: 11.98 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.007712, allocations: 30.56 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.007765, allocations: 42.44 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.007768, allocations: 0 / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.876e-05/0.007847, allocations: 65.61 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.007865, allocations: 10.66 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.00787, allocations: 0 / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.007882, allocations: 0 / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.007946, allocations: 11.98 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007949, allocations: 4.062 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.007973, allocations: 4 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007979, allocations: 0 / 278 MB, free: 12.33 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.132e-05/0.00806, allocations: 124.5 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.008101, allocations: 49.86 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.008133, allocations: 12.47 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.008137, allocations: 4.031 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.00814, allocations: 4 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008144, allocations: 0 / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.00835, allocations: 218.6 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.008353, allocations: 8.375 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.008389, allocations: 8 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.008393, allocations: 4 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.008401, allocations: 3.984 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008402, allocations: 0 / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008403, allocations: 0 / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.283e-05/0.008496, allocations: 156.3 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.008526, allocations: 23.88 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.008541, allocations: 0 / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.008575, allocations: 8 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.008607, allocations: 7.922 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.008614, allocations: 8 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.445e-05/0.008638, allocations: 20.84 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008638, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000129/0.008767, allocations: 19.94 kB / 278.7 MB, free: 11.6 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.0001115/0.008879, allocations: 80.41 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.813e-05/0.008967, allocations: 44.77 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.00897, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.008996, allocations: 16.8 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.009209, allocations: 25.55 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.009647, allocations: 214.7 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.435e-05/0.009691, allocations: 63.34 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.063e-05/0.009722, allocations: 4.734 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.009783, allocations: 63.36 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.009785, allocations: 0 / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of Templates: time 0.00286/0.01264, allocations: 0.8873 MB / 280.1 MB, free: 10.17 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 -s gbode -gbm=radauIIA3 -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.7497149240225554]