Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 186.5 kB / 17.27 MB, free: 4.48 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107.7 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009827/0.0009829, allocations: 47.97 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2925, allocations: 49.45 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003835/0.2963, allocations: 1.68 MB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2974, allocations: 496 kB / 401.7 MB, free: 31.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.2976, allocations: 4 kB / 401.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.734e-05/0.2977, allocations: 7.922 kB / 401.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.2979, allocations: 19.61 kB / 401.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.2983, allocations: 48.39 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2985, allocations: 63.78 kB / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.2986, allocations: 16.23 kB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.2988, allocations: 35.78 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.2988, allocations: 27.84 kB / 401.9 MB, free: 30.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.2989, allocations: 4 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.2989, allocations: 8 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.299, allocations: 15.92 kB / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.299, allocations: 35.73 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.2992, allocations: 71.7 kB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2992, allocations: 4 kB / 402 MB, free: 30.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2992, allocations: 0 / 402 MB, free: 30.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.2992, allocations: 0 / 402 MB, free: 30.83 MB / 298.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.0005544/0.2998, allocations: 392.6 kB / 402.4 MB, free: 30.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.2999, allocations: 8.031 kB / 402.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.2999, allocations: 12.84 kB / 402.4 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3001, allocations: 204 kB / 402.6 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3002, allocations: 8.375 kB / 402.6 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3002, allocations: 4.375 kB / 402.6 MB, free: 30.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.3006, allocations: 141.9 kB / 402.8 MB, free: 29.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3006, allocations: 0 / 402.8 MB, free: 29.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3007, allocations: 3.984 kB / 402.8 MB, free: 29.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3007, allocations: 4 kB / 402.8 MB, free: 29.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.3008, allocations: 31.97 kB / 402.8 MB, free: 29.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3014, allocations: 313.5 kB / 403.1 MB, free: 29.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.3017, allocations: 154.2 kB / 403.3 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.3018, allocations: 41.73 kB / 403.3 MB, free: 29.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3018, allocations: 4 kB / 403.3 MB, free: 29.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.302, allocations: 71.39 kB / 403.4 MB, free: 29.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.302, allocations: 0 / 403.4 MB, free: 29.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003629/0.3024, allocations: 113.5 kB / 403.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3025, allocations: 81.11 kB / 403.6 MB, free: 29.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3026, allocations: 148.9 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.3027, allocations: 25.7 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.3027, allocations: 100.1 kB / 403.8 MB, free: 28.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.3027, allocations: 15.73 kB / 403.8 MB, free: 28.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3028, allocations: 29.66 kB / 403.9 MB, free: 28.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.3029, allocations: 326.8 kB / 404.2 MB, free: 28.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.303, allocations: 19.98 kB / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.3031, allocations: 57.39 kB / 404.3 MB, free: 28.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3032, allocations: 93.06 kB / 404.4 MB, free: 28.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3033, allocations: 3.938 kB / 404.4 MB, free: 28.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002436/0.3035, allocations: 117.5 kB / 404.5 MB, free: 28.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3035, allocations: 4 kB / 404.5 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3036, allocations: 4 kB / 404.5 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3036, allocations: 0 / 404.5 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3037, allocations: 19.92 kB / 404.5 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3037, allocations: 3.984 kB / 404.5 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.3038, allocations: 7.906 kB / 404.5 MB, free: 28.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3038, allocations: 4 kB / 404.5 MB, free: 28.01 MB / 298.7 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 9.402e-05/0.3039, allocations: 133.9 kB / 404.6 MB, free: 27.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.304, allocations: 57.53 kB / 404.7 MB, free: 27.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.3041, allocations: 16.31 kB / 404.7 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3041, allocations: 0 / 404.7 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3041, allocations: 0 / 404.7 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3041, allocations: 4.172 kB / 404.7 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.3044, allocations: 346.5 kB / 405.1 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.3045, allocations: 7.984 kB / 405.1 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.3045, allocations: 11.98 kB / 405.1 MB, free: 27.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3046, allocations: 0 / 405.1 MB, free: 27.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3046, allocations: 4 kB / 405.1 MB, free: 27.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3046, allocations: 0 / 405.1 MB, free: 27.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3046, allocations: 3.938 kB / 405.1 MB, free: 27.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.3051, allocations: 0.7794 MB / 405.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.3051, allocations: 100.9 kB / 406 MB, free: 26.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3052, allocations: 12 kB / 406 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3053, allocations: 0 / 406 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3054, allocations: 7.984 kB / 406 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.3054, allocations: 0 / 406 MB, free: 26.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.446e-05/0.3055, allocations: 111.2 kB / 406.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3055, allocations: 0 / 406.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005666/0.3061, allocations: 23.91 kB / 406.1 MB, free: 26.25 MB / 298.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.0001272/0.3062, allocations: 102.8 kB / 406.2 MB, free: 26.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3064, allocations: 64 kB / 406.3 MB, free: 26.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3064, allocations: 3.938 kB / 406.3 MB, free: 26.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.3065, allocations: 23.92 kB / 406.3 MB, free: 26.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.307, allocations: 27.95 kB / 406.3 MB, free: 26.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.3076, allocations: 368.7 kB / 406.7 MB, free: 25.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.3078, allocations: 0.7083 MB / 407.4 MB, free: 24.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.914e-05/0.3078, allocations: 4.672 kB / 407.4 MB, free: 24.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.3079, allocations: 11.44 kB / 407.4 MB, free: 24.87 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3079, allocations: 0 / 407.4 MB, free: 24.87 MB / 298.7 MB Notification: Performance of Templates: time 0.003974/0.3119, allocations: 0.7716 MB / 408.2 MB, free: 24.11 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches