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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 203.8 kB / 18.11 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007791/0.0007791, allocations: 101.8 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003399, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3049, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.4133, allocations: 78.34 MB / 487.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4136, allocations: 79.95 kB / 487.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005037/0.4187, allocations: 1.798 MB / 489.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4187, allocations: 0 / 489.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.4188, allocations: 0 / 489.6 MB, free: 11.3 MB / 362.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.0004515/0.4192, allocations: 383.2 kB / 490 MB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4193, allocations: 15.97 kB / 490 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4194, allocations: 16.84 kB / 490 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.4196, allocations: 198.5 kB / 490.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4197, allocations: 12.38 kB / 490.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4197, allocations: 4.375 kB / 490.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.42, allocations: 141.5 kB / 490.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.42, allocations: 192 / 490.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.42, allocations: 7.938 kB / 490.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4201, allocations: 7.938 kB / 490.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.4202, allocations: 39.91 kB / 490.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.4207, allocations: 305.6 kB / 490.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4209, allocations: 162.2 kB / 490.9 MB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.421, allocations: 37.8 kB / 490.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4211, allocations: 8 kB / 490.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.4212, allocations: 63.33 kB / 491 MB, free: 9.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4212, allocations: 0 / 491 MB, free: 9.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003061/0.4215, allocations: 121.6 kB / 491.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.4216, allocations: 97.03 kB / 491.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.4217, allocations: 133.8 kB / 491.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.4217, allocations: 29.7 kB / 491.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.4218, allocations: 96.06 kB / 491.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.4218, allocations: 15.81 kB / 491.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4218, allocations: 0 / 491.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.422, allocations: 322.8 kB / 491.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.422, allocations: 27.98 kB / 491.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.4221, allocations: 57.14 kB / 491.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.4223, allocations: 89.08 kB / 491.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4223, allocations: 3.938 kB / 491.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001996/0.4225, allocations: 125.6 kB / 492.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4225, allocations: 4 kB / 492.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4225, allocations: 0 / 492.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4225, allocations: 4 kB / 492.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.4226, allocations: 15.98 kB / 492.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.4226, allocations: 0 / 492.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.4227, allocations: 4 kB / 492.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4227, allocations: 4 kB / 492.1 MB, free: 8.496 MB / 362.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 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,clockToTrigger.y,$PRE.clockToTrigger.y3,clockToTrigger.y3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.4228, allocations: 137.1 kB / 492.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.4229, allocations: 61.48 kB / 492.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.4229, allocations: 24.23 kB / 492.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.423, allocations: 0 / 492.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.423, allocations: 0 / 492.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.423, allocations: 0 / 492.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.4233, allocations: 350.5 kB / 492.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4234, allocations: 0 / 492.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.4234, allocations: 15.98 kB / 492.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4234, allocations: 0 / 492.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.4234, allocations: 4.375 kB / 492.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4234, allocations: 0 / 492.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4235, allocations: 0 / 492.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.4237, allocations: 212.2 kB / 492.9 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.4238, allocations: 105.2 kB / 493 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4238, allocations: 0 / 493 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.4239, allocations: 4 kB / 493 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.4239, allocations: 19.91 kB / 493 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4239, allocations: 0 / 493 MB, free: 7.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.333e-05/0.424, allocations: 107.5 kB / 493.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.424, allocations: 4 kB / 493.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.4243, allocations: 23.92 kB / 493.1 MB, free: 7.344 MB / 362.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,clockToTrigger.y,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/0.4244, allocations: 101.7 kB / 493.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.4246, allocations: 67.91 kB / 493.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4246, allocations: 0 / 493.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.4247, allocations: 23.92 kB / 493.3 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.4251, allocations: 36.33 kB / 493.4 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.4255, allocations: 234.1 kB / 493.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.4258, allocations: 0.7005 MB / 494.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.4258, allocations: 8.656 kB / 494.3 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.4259, allocations: 11.44 kB / 494.3 MB, free: 6.102 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4259, allocations: 0 / 494.3 MB, free: 6.102 MB / 362.7 MB Notification: Performance of Templates: time 0.002918/0.4288, allocations: 0.7083 MB / 495 MB, free: 5.414 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches