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.001535/0.001535, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.984/1.984, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 60.19 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 50.54 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003629/0.1225, allocations: 1.71 MB / 359.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1238, allocations: 0.561 MB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.124, allocations: 4 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.462e-05/0.1241, allocations: 7.922 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1242, allocations: 7.938 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.1247, allocations: 59.88 kB / 360 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1248, allocations: 63.84 kB / 360.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.125, allocations: 20.2 kB / 360.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1251, allocations: 47.78 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.1252, allocations: 27.86 kB / 360.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1252, allocations: 8 kB / 360.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-05/0.1253, allocations: 15.92 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.1254, allocations: 23.91 kB / 360.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.1254, allocations: 27.81 kB / 360.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1256, allocations: 59.84 kB / 360.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1256, allocations: 0 / 360.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1256, allocations: 0 / 360.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1256, allocations: 0 / 360.3 MB, free: 11.75 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.0006133/0.1263, allocations: 399.3 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1263, allocations: 12.03 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.1265, allocations: 20.75 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1268, allocations: 204 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1268, allocations: 4.375 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1268, allocations: 12.11 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.1272, allocations: 143.2 kB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1272, allocations: 7.938 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1272, allocations: 0 / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1272, allocations: 0 / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1273, allocations: 35.97 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.1279, allocations: 313.5 kB / 361.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1282, allocations: 150.3 kB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.1283, allocations: 45.69 kB / 361.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1283, allocations: 4 kB / 361.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1285, allocations: 59.41 kB / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1285, allocations: 0 / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003507/0.1289, allocations: 125.4 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.129, allocations: 85.05 kB / 361.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1291, allocations: 157.7 kB / 362 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1291, allocations: 25.7 kB / 362.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1292, allocations: 92.14 kB / 362.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1293, allocations: 19.86 kB / 362.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.1293, allocations: 21.72 kB / 362.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1295, allocations: 322.8 kB / 362.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.1295, allocations: 27.92 kB / 362.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.1296, allocations: 61.14 kB / 362.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1298, allocations: 89.33 kB / 362.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1298, allocations: 0 / 362.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002282/0.13, allocations: 113.4 kB / 362.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1301, allocations: 4 kB / 362.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1301, allocations: 4 kB / 362.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1301, allocations: 0 / 362.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.1302, allocations: 19.92 kB / 362.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1302, allocations: 3.938 kB / 362.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.1303, allocations: 12.16 kB / 362.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1303, allocations: 4 kB / 362.8 MB, free: 8.902 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.0001116/0.1304, allocations: 125.8 kB / 363 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.1305, allocations: 57.45 kB / 363 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.1306, allocations: 16.3 kB / 363 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1306, allocations: 0 / 363 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1306, allocations: 3.938 kB / 363 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1306, allocations: 0 / 363 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.131, allocations: 346.5 kB / 363.4 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.131, allocations: 0 / 363.4 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.1311, allocations: 15.92 kB / 363.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1311, allocations: 4.172 kB / 363.4 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1311, allocations: 7.938 kB / 363.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1311, allocations: 0 / 363.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1311, allocations: 3.938 kB / 363.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1314, allocations: 208.2 kB / 363.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.1315, allocations: 96.94 kB / 363.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1315, allocations: 4 kB / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.1316, allocations: 4.125 kB / 363.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1317, allocations: 7.984 kB / 363.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.1317, allocations: 4 kB / 363.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.72e-05/0.1318, allocations: 118.1 kB / 363.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1318, allocations: 0 / 363.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.132, allocations: 19.91 kB / 363.8 MB, free: 7.77 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.1322, allocations: 99.25 kB / 363.9 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1324, allocations: 71.84 kB / 364 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1324, allocations: 0 / 364 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.1325, allocations: 19.98 kB / 364 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1329, allocations: 36.2 kB / 364.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.1333, allocations: 258 kB / 364.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1337, allocations: 0.7041 MB / 365 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.1337, allocations: 11.44 kB / 365 MB, free: 6.512 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1338, allocations: 0 / 365 MB, free: 6.512 MB / 302.1 MB Notification: Performance of Templates: time 0.00314/0.1369, allocations: 1.067 MB / 366.1 MB, free: 5.449 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/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