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.001331/0.001331, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 54.81 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003581/0.1429, allocations: 1.652 MB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.144, allocations: 0.5765 MB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1442, allocations: 4 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.1443, allocations: 11.86 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.1444, allocations: 11.86 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.1448, allocations: 67.81 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.145, allocations: 59.83 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.1452, allocations: 28.2 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1453, allocations: 39.86 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.1454, allocations: 35.78 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1454, allocations: 4 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.1455, allocations: 11.94 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.1456, allocations: 23.91 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.1456, allocations: 31.8 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1458, allocations: 79.66 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1458, allocations: 0 / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1458, allocations: 0 / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1459, allocations: 4 kB / 361.5 MB, free: 10.68 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.0005844/0.1465, allocations: 403 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1465, allocations: 11.97 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.1467, allocations: 20.75 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.147, allocations: 212.1 kB / 362.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.147, allocations: 8.375 kB / 362.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.147, allocations: 8.125 kB / 362.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1474, allocations: 137 kB / 362.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1474, allocations: 0 / 362.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1474, allocations: 4 kB / 362.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1474, allocations: 0 / 362.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1475, allocations: 35.91 kB / 362.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.1481, allocations: 309.5 kB / 362.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1483, allocations: 158.2 kB / 362.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.1484, allocations: 45.78 kB / 362.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1485, allocations: 80 / 362.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.1486, allocations: 67.38 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1486, allocations: 0 / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003505/0.149, allocations: 125.4 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.1491, allocations: 81.11 kB / 363.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1492, allocations: 157.6 kB / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1492, allocations: 29.7 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.1493, allocations: 88.14 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1493, allocations: 15.8 kB / 363.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1494, allocations: 25.72 kB / 363.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1495, allocations: 322.8 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.1496, allocations: 23.98 kB / 363.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.841e-05/0.1497, allocations: 65.08 kB / 363.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1498, allocations: 85.06 kB / 363.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1498, allocations: 0 / 363.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002004/0.15, allocations: 109.5 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1501, allocations: 8 kB / 364 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1501, allocations: 0 / 364 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1501, allocations: 4 kB / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.1502, allocations: 20.08 kB / 364.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.1502, allocations: 7.938 kB / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.1503, allocations: 4 kB / 364.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1503, allocations: 8 kB / 364.1 MB, free: 7.828 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.0001002/0.1504, allocations: 125.8 kB / 364.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.1505, allocations: 61.5 kB / 364.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.1505, allocations: 8.312 kB / 364.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1505, allocations: 7.938 kB / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1505, allocations: 3.938 kB / 364.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1505, allocations: 4 kB / 364.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.1509, allocations: 346.4 kB / 364.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1509, allocations: 0 / 364.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.151, allocations: 12.36 kB / 364.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.151, allocations: 3.938 kB / 364.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.151, allocations: 4 kB / 364.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.151, allocations: 8 kB / 364.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.151, allocations: 0 / 364.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1512, allocations: 200.2 kB / 364.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.1513, allocations: 100.9 kB / 364.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1514, allocations: 0 / 364.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1514, allocations: 11.98 kB / 365 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1515, allocations: 240 / 365 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1515, allocations: 4 kB / 365 MB, free: 6.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.36e-05/0.1516, allocations: 114.2 kB / 365.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1516, allocations: 0 / 365.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1518, allocations: 19.91 kB / 365.1 MB, free: 6.703 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.0001399/0.152, allocations: 107.2 kB / 365.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.1522, allocations: 67.91 kB / 365.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1522, allocations: 0 / 365.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/0.1523, allocations: 20.3 kB / 365.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1527, allocations: 31.89 kB / 365.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.1531, allocations: 200.3 kB / 365.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1534, allocations: 0.7002 MB / 366.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.1534, allocations: 4.438 kB / 366.2 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.1535, allocations: 23.42 kB / 366.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1535, allocations: 4 kB / 366.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of Templates: time 0.003407/0.1569, allocations: 0.7927 MB / 367 MB, free: 4.711 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 -s cvode -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","/var/lib/jenkins1/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