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.000998/0.0009981, allocations: 98.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003272, allocations: 8 kB / 306.6 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002479/0.1436, allocations: 1.336 MB / 359.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1447, allocations: 0.5146 MB / 359.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1448, allocations: 4 kB / 359.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.152e-05/0.1449, allocations: 7.922 kB / 359.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.145, allocations: 15.92 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1454, allocations: 51.81 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.1456, allocations: 35.91 kB / 360 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1457, allocations: 20.2 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1458, allocations: 27.91 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.1459, allocations: 23.86 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.146, allocations: 4 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.146, allocations: 8 kB / 360.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.1461, allocations: 19.91 kB / 360.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.1461, allocations: 37.64 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1463, allocations: 51.89 kB / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1463, allocations: 0 / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1463, allocations: 0 / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1463, allocations: 0 / 360.2 MB, free: 11.96 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.0006717/0.147, allocations: 391.2 kB / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.147, allocations: 8.031 kB / 360.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.1473, allocations: 27.8 kB / 360.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1475, allocations: 190.8 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1476, allocations: 7.953 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1476, allocations: 8 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.148, allocations: 139.3 kB / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.148, allocations: 0 / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.148, allocations: 4 kB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.148, allocations: 0 / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1481, allocations: 39.91 kB / 361 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.1487, allocations: 313.6 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.149, allocations: 162.3 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.149, allocations: 0 / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1492, allocations: 63.48 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.256e-06/0.1492, allocations: 0 / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003558/0.1496, allocations: 129.5 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.1497, allocations: 92.95 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1498, allocations: 144.3 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1499, allocations: 33.7 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.15, allocations: 88.08 kB / 362 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.15, allocations: 19.8 kB / 362 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.15, allocations: 0 / 362 MB, free: 9.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1502, allocations: 318.8 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.615e-05/0.1503, allocations: 27.98 kB / 362.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.1503, allocations: 61.08 kB / 362.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.648e-05/0.1504, allocations: 35.98 kB / 362.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1504, allocations: 0 / 362.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002156/0.1507, allocations: 109.5 kB / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1507, allocations: 8 kB / 362.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1507, allocations: 4.141 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1507, allocations: 8 kB / 362.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.1508, allocations: 11.94 kB / 362.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1508, allocations: 4 kB / 362.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.1509, allocations: 11.98 kB / 362.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1509, allocations: 7.953 kB / 362.6 MB, free: 9.266 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 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,triggeredSampler.trigger,$PRE.clockToTrigger.y3,clockToTrigger.y3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.151, allocations: 128.8 kB / 362.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.1511, allocations: 53.59 kB / 362.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.1511, allocations: 12.31 kB / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1512, allocations: 4 kB / 362.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1512, allocations: 0 / 362.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1512, allocations: 3.984 kB / 362.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.1516, allocations: 362.4 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1516, allocations: 0 / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.1517, allocations: 8 kB / 363.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1517, allocations: 4 kB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1517, allocations: 8.359 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1517, allocations: 0 / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1517, allocations: 0 / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.152, allocations: 221.9 kB / 363.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.152, allocations: 93 kB / 363.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1521, allocations: 7.984 kB / 363.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.1521, allocations: 4 kB / 363.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.1522, allocations: 3.953 kB / 363.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1522, allocations: 8 kB / 363.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.495e-05/0.1523, allocations: 107.2 kB / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1523, allocations: 96 / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1526, allocations: 15.94 kB / 363.7 MB, free: 8.125 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 (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.0001482/0.1527, allocations: 111.2 kB / 363.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1529, allocations: 68.12 kB / 363.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.153, allocations: 0 / 363.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.153, allocations: 23.94 kB / 363.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1533, allocations: 28.41 kB / 363.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.1538, allocations: 230 kB / 364.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.1541, allocations: 0.7082 MB / 364.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.1542, allocations: 4.672 kB / 364.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1542, allocations: 11.44 kB / 364.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1542, allocations: 0 / 364.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of Templates: time 0.003497/0.1577, allocations: 0.6998 MB / 365.5 MB, free: 6.195 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches