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.001068/0.001068, allocations: 176.3 kB / 17.4 MB, free: 4.418 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.453/1.453, allocations: 223.3 MB / 241.4 MB, free: 11.68 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.0008102/0.0008106, allocations: 105 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004818, allocations: 12 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2971, allocations: 50.4 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4263, allocations: 77.64 MB / 480.4 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005095/0.4269, allocations: 79.94 kB / 480.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008441/0.4354, allocations: 1.695 MB / 482.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.4354, allocations: 0 / 482.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.4354, allocations: 12 kB / 482.2 MB, free: 0.9219 MB / 346.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.0006032/0.4361, allocations: 391 kB / 482.6 MB, free: 500 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.4361, allocations: 8.031 kB / 482.6 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.4362, allocations: 12.84 kB / 482.6 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.4365, allocations: 199.2 kB / 482.8 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.4366, allocations: 4.375 kB / 482.8 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.4366, allocations: 8.375 kB / 482.8 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.4371, allocations: 141.5 kB / 482.9 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4372, allocations: 4.125 kB / 482.9 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.4372, allocations: 3.938 kB / 482.9 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4372, allocations: 0 / 482.9 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.4374, allocations: 47.95 kB / 483 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.4382, allocations: 301.6 kB / 483.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.4386, allocations: 162.2 kB / 483.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.4388, allocations: 37.8 kB / 483.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.4388, allocations: 0 / 483.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.4391, allocations: 71.34 kB / 483.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.545e-06/0.4391, allocations: 0 / 483.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005957/0.4397, allocations: 125.5 kB / 483.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.4398, allocations: 77.11 kB / 483.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.44, allocations: 145.8 kB / 483.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.4401, allocations: 25.7 kB / 483.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.4402, allocations: 96.08 kB / 484 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.4402, allocations: 11.81 kB / 484 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.4402, allocations: 8 kB / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4404, allocations: 318.8 kB / 484.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4406, allocations: 23.98 kB / 484.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4407, allocations: 65.14 kB / 484.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.4411, allocations: 101.2 kB / 484.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4411, allocations: 3.938 kB / 484.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003596/0.4415, allocations: 109.5 kB / 484.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4415, allocations: 8 kB / 484.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4415, allocations: 0 / 484.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4415, allocations: 4 kB / 484.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.4417, allocations: 16.14 kB / 484.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.4417, allocations: 4 kB / 484.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4419, allocations: 8 kB / 484.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4419, allocations: 4 kB / 484.7 MB, free: 14.12 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.0001783/0.4421, allocations: 141.8 kB / 484.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4422, allocations: 57.5 kB / 484.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.4423, allocations: 8.312 kB / 484.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4423, allocations: 4 kB / 484.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.4423, allocations: 4 kB / 484.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4424, allocations: 0 / 484.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.443, allocations: 346.5 kB / 485.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.443, allocations: 4 kB / 485.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.4431, allocations: 15.98 kB / 485.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4431, allocations: 0 / 485.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4431, allocations: 0 / 485.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.4432, allocations: 8 kB / 485.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4432, allocations: 0 / 485.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.4436, allocations: 204.2 kB / 485.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4437, allocations: 96.94 kB / 485.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.4437, allocations: 8 kB / 485.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.4439, allocations: 8.125 kB / 485.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.444, allocations: 15.86 kB / 485.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.444, allocations: 4 kB / 485.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.4442, allocations: 109.8 kB / 485.7 MB, free: 13 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4442, allocations: 0 / 485.7 MB, free: 13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004673/0.4446, allocations: 16 kB / 485.7 MB, free: 12.98 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.0002122/0.4449, allocations: 99.25 kB / 485.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.4452, allocations: 71.91 kB / 485.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4452, allocations: 0 / 485.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4453, allocations: 28.02 kB / 485.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.4459, allocations: 31.14 kB / 485.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.4467, allocations: 239.4 kB / 486.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.4471, allocations: 0.6965 MB / 486.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.76e-05/0.4472, allocations: 8.672 kB / 486.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.4473, allocations: 11.44 kB / 486.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4473, allocations: 7.938 kB / 486.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of Templates: time 0.004699/0.452, allocations: 0.6916 MB / 487.6 MB, free: 11.05 MB / 362.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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