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.001082/0.001082, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 221.5 MB / 230.3 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 98.19 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.538e-05/1.54e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4561, allocations: 76.86 MB / 464.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/0.4566, allocations: 79.95 kB / 464.4 MB, free: 1.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00493/0.4615, allocations: 1.676 MB / 466.1 MB, free: 240 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4616, allocations: 4 kB / 466.1 MB, free: 236 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4616, allocations: 3.938 kB / 466.1 MB, free: 232 kB / 330.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.0004173/0.462, allocations: 364.8 kB / 466.4 MB, free: 15.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4621, allocations: 8.031 kB / 466.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.4621, allocations: 19.77 kB / 466.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.4624, allocations: 194.8 kB / 466.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4624, allocations: 4 kB / 466.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.4624, allocations: 4 kB / 466.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001183/0.4625, allocations: 24 kB / 466.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.4628, allocations: 129 kB / 466.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4628, allocations: 0 / 466.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4629, allocations: 0 / 466.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4629, allocations: 0 / 466.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.4634, allocations: 282.2 kB / 467.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.4637, allocations: 142.4 kB / 467.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.4637, allocations: 37.66 kB / 467.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.4638, allocations: 7.953 kB / 467.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.4639, allocations: 52.25 kB / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.4639, allocations: 0 / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002427/0.4641, allocations: 85.42 kB / 467.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.4642, allocations: 81.11 kB / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.4644, allocations: 127.6 kB / 467.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.4644, allocations: 29.7 kB / 467.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.4645, allocations: 88.12 kB / 467.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.4645, allocations: 19.88 kB / 467.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.4645, allocations: 3.938 kB / 467.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4647, allocations: 322.8 kB / 468.1 MB, free: 14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.4647, allocations: 12 kB / 468.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.4648, allocations: 57.16 kB / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.4649, allocations: 19.92 kB / 468.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4649, allocations: 0 / 468.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001438/0.465, allocations: 97.47 kB / 468.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.4651, allocations: 8.156 kB / 468.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4651, allocations: 4 kB / 468.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4651, allocations: 0 / 468.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4652, allocations: 19.88 kB / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.4653, allocations: 0 / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.4653, allocations: 7.984 kB / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4653, allocations: 4.125 kB / 468.3 MB, free: 13.75 MB / 346.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 () * 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 8.097e-05/0.4654, allocations: 113 kB / 468.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.4655, allocations: 61.48 kB / 468.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.4655, allocations: 12.41 kB / 468.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4656, allocations: 4 kB / 468.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4656, allocations: 0 / 468.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4656, allocations: 0 / 468.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.4658, allocations: 299.2 kB / 468.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4659, allocations: 7.953 kB / 468.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.4659, allocations: 15.92 kB / 468.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4659, allocations: 0 / 468.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.466, allocations: 4 kB / 468.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.466, allocations: 4.625 kB / 468.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.466, allocations: 0 / 468.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.4662, allocations: 201.8 kB / 469 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.4663, allocations: 100.9 kB / 469.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.4663, allocations: 0 / 469.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.4664, allocations: 11.98 kB / 469.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.4664, allocations: 0 / 469.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4664, allocations: 4 kB / 469.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.4665, allocations: 103.3 kB / 469.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4665, allocations: 0 / 469.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.4667, allocations: 12 kB / 469.2 MB, free: 12.71 MB / 346.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) * 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.000154/0.4669, allocations: 99.33 kB / 469.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.467, allocations: 56.06 kB / 469.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4671, allocations: 0 / 469.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.4671, allocations: 15.94 kB / 469.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.4674, allocations: 28.48 kB / 469.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.4677, allocations: 129.8 kB / 469.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.468, allocations: 0.708 MB / 470.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.4681, allocations: 8.797 kB / 470.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.4681, allocations: 11.44 kB / 470.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4681, allocations: 0 / 470.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of Templates: time 0.002666/0.4708, allocations: 0.6824 MB / 471 MB, free: 10.93 MB / 346.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/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