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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.000908/0.0009079, allocations: 93.78 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, allocations: 227.7 MB / 246.8 MB, free: 9.754 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002795, allocations: 7.984 kB / 307.7 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 51.53 MB / 359.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002684/0.1572, allocations: 1.355 MB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1587, allocations: 0.5571 MB / 361.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1588, allocations: 8 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.1589, allocations: 3.938 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1591, allocations: 7.922 kB / 361.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.1595, allocations: 59.89 kB / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1596, allocations: 59.83 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.1598, allocations: 24.2 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.16, allocations: 31.8 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.16, allocations: 27.84 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1601, allocations: 8 kB / 361.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.1601, allocations: 7.938 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.1602, allocations: 15.92 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.043e-05/0.1603, allocations: 53.52 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1605, allocations: 75.69 kB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.1605, allocations: 0 / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1605, allocations: 3.938 kB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1605, allocations: 0 / 361.6 MB, free: 10.76 MB / 302.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.0006289/0.1612, allocations: 391.4 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1612, allocations: 8.031 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.1614, allocations: 32.73 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1617, allocations: 201.4 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1617, allocations: 384 / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1617, allocations: 16.12 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.1621, allocations: 137 kB / 362.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1621, allocations: 0 / 362.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1621, allocations: 4 kB / 362.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1621, allocations: 4 kB / 362.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1623, allocations: 35.91 kB / 362.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.1628, allocations: 313.6 kB / 362.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1631, allocations: 162.2 kB / 362.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.1632, allocations: 41.78 kB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1633, allocations: 0 / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1634, allocations: 71.33 kB / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1634, allocations: 0 / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003778/0.1638, allocations: 125.5 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.1639, allocations: 85.05 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1641, allocations: 152 kB / 363.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1641, allocations: 29.7 kB / 363.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.1642, allocations: 88.14 kB / 363.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.1642, allocations: 23.8 kB / 363.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.1643, allocations: 21.66 kB / 363.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1644, allocations: 322.8 kB / 363.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.1645, allocations: 19.98 kB / 363.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.1646, allocations: 61.14 kB / 363.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1647, allocations: 85.08 kB / 363.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1647, allocations: 0 / 363.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002273/0.165, allocations: 121.4 kB / 364.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.165, allocations: 8 kB / 364.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.165, allocations: 7.922 kB / 364.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1651, allocations: 4 kB / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.1651, allocations: 11.98 kB / 364.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1652, allocations: 8.094 kB / 364.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.1652, allocations: 12 kB / 364.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1652, allocations: 4 kB / 364.1 MB, free: 7.895 MB / 302.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.0001132/0.1654, allocations: 128.8 kB / 364.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/0.1655, allocations: 53.59 kB / 364.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.1655, allocations: 12.3 kB / 364.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1655, allocations: 4 kB / 364.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1655, allocations: 3.938 kB / 364.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1655, allocations: 3.938 kB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.1659, allocations: 366.7 kB / 364.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.166, allocations: 0 / 364.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.166, allocations: 11.98 kB / 364.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.166, allocations: 3.938 kB / 364.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1661, allocations: 4 kB / 364.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1661, allocations: 0 / 364.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1661, allocations: 0 / 364.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1663, allocations: 208.2 kB / 364.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.1664, allocations: 100.9 kB / 365 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1665, allocations: 0 / 365 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.1665, allocations: 7.938 kB / 365 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.1666, allocations: 11.98 kB / 365 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1666, allocations: 0 / 365 MB, free: 6.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.971e-05/0.1667, allocations: 115.2 kB / 365.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1667, allocations: 0 / 365.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1669, allocations: 12 kB / 365.1 MB, free: 6.758 MB / 302.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.0001373/0.1671, allocations: 107.4 kB / 365.2 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1673, allocations: 72.09 kB / 365.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1673, allocations: 0 / 365.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.1674, allocations: 23.98 kB / 365.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1678, allocations: 32.58 kB / 365.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.1682, allocations: 242.4 kB / 365.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1685, allocations: 0.7043 MB / 366.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.407e-05/0.1686, allocations: 4.438 kB / 366.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.1686, allocations: 11.44 kB / 366.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1686, allocations: 4 kB / 366.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of Templates: time 0.003475/0.1721, allocations: 0.7324 MB / 367.1 MB, free: 4.777 MB / 302.1 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","/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) Reference file matches