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.002026/0.002026, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002452/0.002452, allocations: 160.9 kB / 24.27 MB, free: 168 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.624/1.624, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.357e-06/3.357e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.313e-05/4.649e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003645/0.003692, allocations: 1.665 MB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.005131, allocations: 0.5492 MB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.005238, allocations: 7.938 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.579e-05/0.005304, allocations: 3.938 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.005467, allocations: 15.86 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.005916, allocations: 71.67 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.006067, allocations: 63.78 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.00618, allocations: 16.22 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.006337, allocations: 43.89 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.0064, allocations: 23.91 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.006421, allocations: 4 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.441e-05/0.006475, allocations: 15.92 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.006542, allocations: 15.94 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.006605, allocations: 27.91 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.006816, allocations: 87.58 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.006819, allocations: 0 / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00682, allocations: 0 / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.006826, allocations: 0 / 274.8 MB, free: 15.16 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.0006408/0.007467, allocations: 321.9 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.007507, allocations: 11.98 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.007701, allocations: 28.83 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.008047, allocations: 154.2 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.00806, allocations: 384 / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.008078, allocations: 12.31 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.008451, allocations: 137.6 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.008462, allocations: 3.938 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.008475, allocations: 4 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.00848, allocations: 0 / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.008609, allocations: 35.98 kB / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.009153, allocations: 241.3 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.009394, allocations: 77.06 kB / 275.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.009488, allocations: 37.78 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.009518, allocations: 4 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.009921, allocations: 63.39 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.009923, allocations: 0 / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004221/0.01035, allocations: 129.5 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/0.01044, allocations: 89.05 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.01061, allocations: 145.2 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.01064, allocations: 29.7 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.01073, allocations: 96.06 kB / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.01076, allocations: 15.91 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.01081, allocations: 21.67 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.01102, allocations: 326.8 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.01109, allocations: 23.92 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.01117, allocations: 42.56 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01131, allocations: 58.5 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01131, allocations: 0 / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002045/0.01152, allocations: 93.61 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01153, allocations: 4 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01154, allocations: 0 / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01155, allocations: 4 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.01163, allocations: 12.05 kB / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01164, allocations: 0 / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.01169, allocations: 11.95 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.0117, allocations: 4 kB / 277 MB, free: 12.75 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.0001526/0.01185, allocations: 125.8 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.01195, allocations: 61.58 kB / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.01198, allocations: 12.47 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01198, allocations: 0 / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.01199, allocations: 0 / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01199, allocations: 4 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.01243, allocations: 290.1 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01243, allocations: 384 / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.01248, allocations: 8 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01249, allocations: 0 / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.0125, allocations: 8 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.01251, allocations: 3.984 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01251, allocations: 0 / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.01281, allocations: 208.2 kB / 277.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.01286, allocations: 20.11 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.01289, allocations: 8 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.01296, allocations: 4 kB / 277.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.01302, allocations: 15.91 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.01303, allocations: 3.938 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.01314, allocations: 115.2 kB / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01314, allocations: 0 / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01339, allocations: 12 kB / 277.9 MB, free: 11.8 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.0001486/0.01354, allocations: 106.9 kB / 278 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.01376, allocations: 51.91 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01377, allocations: 4.125 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/0.01384, allocations: 19.98 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.0142, allocations: 25.42 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.01473, allocations: 215.8 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.01485, allocations: 85.19 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.261e-05/0.01489, allocations: 4.734 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.01493, allocations: 16.5 kB / 278.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01493, allocations: 0 / 278.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Templates: time 0.004075/0.01901, allocations: 0.8424 MB / 279.2 MB, free: 10.39 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.707640164997429]