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.001629/0.001629, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.7 kB / 307 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.13, allocations: 50.54 MB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003352/0.1334, allocations: 1.641 MB / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1346, allocations: 0.5765 MB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.1347, allocations: 0 / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.484e-05/0.1348, allocations: 7.875 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.135, allocations: 23.91 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.1355, allocations: 67.75 kB / 359.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1357, allocations: 67.78 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1358, allocations: 24.2 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.136, allocations: 27.92 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.1361, allocations: 35.77 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1361, allocations: 11.94 kB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.1362, allocations: 4 kB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.1363, allocations: 23.92 kB / 360 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.1364, allocations: 39.8 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1366, allocations: 79.66 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1366, allocations: 0 / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1366, allocations: 0 / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1366, allocations: 0 / 360.2 MB, free: 11.36 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.0006726/0.1373, allocations: 395.3 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1373, allocations: 15.95 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.1376, allocations: 20.75 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1378, allocations: 204 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1379, allocations: 12.31 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1379, allocations: 12.12 kB / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.1382, allocations: 135.5 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1383, allocations: 0 / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1383, allocations: 4 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1383, allocations: 8 kB / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1384, allocations: 23.98 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.139, allocations: 317.5 kB / 361.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1393, allocations: 150.3 kB / 361.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.1394, allocations: 45.72 kB / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1394, allocations: 3.984 kB / 361.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.1397, allocations: 59.41 kB / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.1397, allocations: 4 kB / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003647/0.1401, allocations: 129.4 kB / 361.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.1402, allocations: 81.11 kB / 361.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1403, allocations: 149.7 kB / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1403, allocations: 33.69 kB / 361.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.1404, allocations: 88.14 kB / 362 MB, free: 9.254 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.1404, allocations: 15.81 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.1405, allocations: 33.7 kB / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1407, allocations: 322.8 kB / 362.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.1408, allocations: 19.98 kB / 362.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.134e-05/0.1409, allocations: 61.08 kB / 362.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.141, allocations: 85.08 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.141, allocations: 0 / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002182/0.1412, allocations: 113.5 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1413, allocations: 8 kB / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1413, allocations: 0 / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1413, allocations: 4 kB / 362.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.1414, allocations: 15.94 kB / 362.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1414, allocations: 11.92 kB / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.1415, allocations: 4 kB / 362.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1415, allocations: 4 kB / 362.7 MB, free: 8.512 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.0001094/0.1416, allocations: 121.8 kB / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.1417, allocations: 61.5 kB / 362.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.1418, allocations: 16.3 kB / 362.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1418, allocations: 4 kB / 362.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1418, allocations: 3.938 kB / 362.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1418, allocations: 0 / 362.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.1422, allocations: 346.5 kB / 363.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1422, allocations: 384 / 363.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.1423, allocations: 15.92 kB / 363.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1423, allocations: 7.938 kB / 363.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1423, allocations: 4 kB / 363.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1423, allocations: 7.938 kB / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1423, allocations: 0 / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1426, allocations: 196.2 kB / 363.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.1427, allocations: 104.9 kB / 363.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1427, allocations: 0 / 363.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.1428, allocations: 8 kB / 363.6 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.1429, allocations: 4.219 kB / 363.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1429, allocations: 8 kB / 363.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.419e-05/0.143, allocations: 106.8 kB / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.143, allocations: 0 / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1432, allocations: 23.89 kB / 363.7 MB, free: 7.383 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.0001317/0.1434, allocations: 103.2 kB / 363.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1436, allocations: 71.84 kB / 363.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.1436, allocations: 4 kB / 363.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.1437, allocations: 19.98 kB / 363.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1441, allocations: 31.89 kB / 363.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.1445, allocations: 220.3 kB / 364.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1449, allocations: 0.6924 MB / 364.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.515e-05/0.145, allocations: 8.422 kB / 364.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.145, allocations: 15.44 kB / 364.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.145, allocations: 4 kB / 364.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of Templates: time 0.004038/0.149, allocations: 0.7913 MB / 365.7 MB, free: 5.383 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.1.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