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.00184/0.00184, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.00223/0.00223, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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.539/1.539, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 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 0.001992/0.001992, allocations: 63.91 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.281, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003069/0.2841, allocations: 1.645 MB / 433.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2852, allocations: 0.5376 MB / 433.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.901e-05/0.2853, allocations: 4 kB / 433.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.2853, allocations: 11.88 kB / 433.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.2854, allocations: 15.88 kB / 433.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.2858, allocations: 71.77 kB / 433.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.2859, allocations: 67.78 kB / 434 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.286, allocations: 12.22 kB / 434 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.2861, allocations: 39.8 kB / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.2862, allocations: 27.78 kB / 434.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.2862, allocations: 8 kB / 434.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.2863, allocations: 12 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.2863, allocations: 23.92 kB / 434.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.2864, allocations: 31.8 kB / 434.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2865, allocations: 85.81 kB / 434.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2865, allocations: 0 / 434.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2865, allocations: 4 kB / 434.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2865, allocations: 0 / 434.2 MB, free: 3.914 MB / 334.1 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.0004912/0.287, allocations: 321.9 kB / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2871, allocations: 11.98 kB / 434.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2872, allocations: 24.83 kB / 434.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.2874, allocations: 150.2 kB / 434.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2875, allocations: 4.359 kB / 434.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2875, allocations: 16.12 kB / 434.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.2879, allocations: 136.4 kB / 434.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2879, allocations: 0 / 434.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.2879, allocations: 4 kB / 434.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2879, allocations: 4 kB / 434.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.288, allocations: 35.91 kB / 434.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.2884, allocations: 245.3 kB / 435.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.2887, allocations: 69.14 kB / 435.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/0.2887, allocations: 33.8 kB / 435.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.2888, allocations: 7.984 kB / 435.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.2889, allocations: 71.3 kB / 435.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2889, allocations: 4 kB / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003217/0.2892, allocations: 113.6 kB / 435.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.2893, allocations: 89.03 kB / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2894, allocations: 149.7 kB / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.2894, allocations: 29.7 kB / 435.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.2895, allocations: 92.12 kB / 435.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.2895, allocations: 15.91 kB / 435.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.2896, allocations: 33.66 kB / 435.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2897, allocations: 322.8 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.2898, allocations: 19.98 kB / 436.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.562e-05/0.2899, allocations: 61.14 kB / 436.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.29, allocations: 85.08 kB / 436.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.29, allocations: 7.938 kB / 436.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002098/0.2902, allocations: 113.5 kB / 436.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2903, allocations: 8 kB / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2903, allocations: 0 / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2903, allocations: 7.938 kB / 436.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.2904, allocations: 12 kB / 436.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2904, allocations: 11.97 kB / 436.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.2904, allocations: 7.938 kB / 436.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.2904, allocations: 4 kB / 436.5 MB, free: 1.402 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001105/0.2905, allocations: 133.9 kB / 436.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.2906, allocations: 53.77 kB / 436.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.2906, allocations: 16.39 kB / 436.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2906, allocations: 4 kB / 436.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2907, allocations: 0 / 436.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2907, allocations: 3.938 kB / 436.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.291, allocations: 286.5 kB / 437 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.291, allocations: 8.062 kB / 437 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.2911, allocations: 11.98 kB / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2911, allocations: 0 / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2911, allocations: 0 / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.2911, allocations: 11.88 kB / 437 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2911, allocations: 4 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.2914, allocations: 200.3 kB / 437.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.2914, allocations: 19.94 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2915, allocations: 0 / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.2915, allocations: 7.938 kB / 437.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.2916, allocations: 7.984 kB / 437.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2916, allocations: 4 kB / 437.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.481e-05/0.2917, allocations: 114.6 kB / 437.4 MB, free: 472 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2917, allocations: 0 / 437.4 MB, free: 472 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.2919, allocations: 27.89 kB / 437.4 MB, free: 444 kB / 334.1 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.0001074/0.292, allocations: 95.25 kB / 437.5 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.2922, allocations: 59.91 kB / 437.6 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2922, allocations: 0 / 437.6 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2923, allocations: 23.92 kB / 437.6 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2927, allocations: 32.03 kB / 437.6 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.2932, allocations: 212.8 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.2933, allocations: 85 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.043e-05/0.2934, allocations: 8.422 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.2934, allocations: 15.44 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2934, allocations: 0 / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Templates: time 0.003907/0.2973, allocations: 0.885 MB / 438.8 MB, free: 14.99 MB / 350.1 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.5700644720345736]