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.001044/0.001044, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 227.2 MB / 245 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008273, allocations: 106.1 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000199/0.000199, allocations: 8 kB / 357.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1855, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08529/0.2708, allocations: 78.41 MB / 487.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.2711, allocations: 83.94 kB / 487.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004756/0.2759, allocations: 1.803 MB / 489.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2759, allocations: 4 kB / 489.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2759, allocations: 0 / 489.7 MB, free: 10.33 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.0003831/0.2763, allocations: 379 kB / 490.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2764, allocations: 12.02 kB / 490.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.2765, allocations: 15.91 kB / 490.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.2767, allocations: 201 kB / 490.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2767, allocations: 11.95 kB / 490.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2767, allocations: 12 kB / 490.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.277, allocations: 133 kB / 490.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.277, allocations: 0 / 490.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2771, allocations: 7.938 kB / 490.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2771, allocations: 4 kB / 490.5 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2772, allocations: 35.92 kB / 490.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.2776, allocations: 305.6 kB / 490.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.2779, allocations: 158.3 kB / 491 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2779, allocations: 0 / 491 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.278, allocations: 75.55 kB / 491 MB, free: 8.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.278, allocations: 0 / 491 MB, free: 8.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002869/0.2783, allocations: 125.7 kB / 491.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.2784, allocations: 77.11 kB / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2785, allocations: 132.9 kB / 491.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2785, allocations: 33.7 kB / 491.4 MB, free: 8.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.2786, allocations: 99.97 kB / 491.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2786, allocations: 11.91 kB / 491.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.2786, allocations: 0 / 491.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2787, allocations: 322.8 kB / 491.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.2788, allocations: 23.98 kB / 491.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.2789, allocations: 61.14 kB / 491.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.279, allocations: 27.98 kB / 491.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.279, allocations: 0 / 491.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002181/0.2792, allocations: 121.5 kB / 492.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2792, allocations: 4 kB / 492.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2792, allocations: 4 kB / 492.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2793, allocations: 0 / 492.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.2793, allocations: 19.92 kB / 492.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2794, allocations: 0 / 492.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.2794, allocations: 16 kB / 492.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2794, allocations: 11.98 kB / 492.1 MB, free: 7.66 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 9.745e-05/0.2796, allocations: 127.4 kB / 492.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.2796, allocations: 61.53 kB / 492.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.2797, allocations: 16.25 kB / 492.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2797, allocations: 0 / 492.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2797, allocations: 4 kB / 492.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2797, allocations: 0 / 492.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.28, allocations: 346.8 kB / 492.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.28, allocations: 8.047 kB / 492.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.2801, allocations: 12 kB / 492.7 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2801, allocations: 4 kB / 492.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.2801, allocations: 0 / 492.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2801, allocations: 0 / 492.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2801, allocations: 0 / 492.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.2804, allocations: 225.9 kB / 492.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.2804, allocations: 92.94 kB / 493 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.2805, allocations: 4 kB / 493 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2806, allocations: 7.984 kB / 493 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.2806, allocations: 7.953 kB / 493 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.2806, allocations: 4 kB / 493 MB, free: 6.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.636e-05/0.2807, allocations: 115.2 kB / 493.1 MB, free: 6.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2807, allocations: 0 / 493.1 MB, free: 6.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.2809, allocations: 15.91 kB / 493.1 MB, free: 6.52 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.0001163/0.2811, allocations: 107.2 kB / 493.2 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.2812, allocations: 68.14 kB / 493.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2812, allocations: 4.062 kB / 493.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.2813, allocations: 20 kB / 493.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2815, allocations: 28.14 kB / 493.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.2819, allocations: 233.7 kB / 493.6 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2822, allocations: 0.7121 MB / 494.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.884e-05/0.2823, allocations: 4.766 kB / 494.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.2823, allocations: 15.38 kB / 494.3 MB, free: 5.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2823, allocations: 0 / 494.3 MB, free: 5.27 MB / 362.7 MB Notification: Performance of Templates: time 0.002642/0.285, allocations: 0.6964 MB / 495 MB, free: 4.594 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/jenkins/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