Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToTrigger.y|sample.y|triggeredSampler.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToTrigger.y|sample.y|triggeredSampler.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.00106, allocations: 180.5 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001005, allocations: 98.78 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0843/0.0843, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003987, allocations: 14.88 kB / 392 MB, free: 54.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 50.37 MB / 442.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.2328, allocations: 78.83 MB / 0.509 GB, free: 12.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.2332, allocations: 75.95 kB / 0.5091 GB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004422/0.2376, allocations: 1.637 MB / 0.5107 GB, free: 10.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2376, allocations: 0 / 0.5107 GB, free: 10.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2376, allocations: 0 / 0.5107 GB, free: 10.31 MB / 362.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.0004598/0.2381, allocations: 383 kB / 0.511 GB, free: 9.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2381, allocations: 19.97 kB / 0.511 GB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.2382, allocations: 11.81 kB / 0.511 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2384, allocations: 206.7 kB / 0.5112 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2384, allocations: 8 kB / 0.5113 GB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.2385, allocations: 4 kB / 0.5113 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.2388, allocations: 144.9 kB / 0.5114 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2388, allocations: 0 / 0.5114 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2388, allocations: 4 kB / 0.5114 GB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2388, allocations: 0 / 0.5114 GB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.239, allocations: 43.91 kB / 0.5114 GB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.2394, allocations: 305.7 kB / 0.5117 GB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.2397, allocations: 162.3 kB / 0.5119 GB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2397, allocations: 0 / 0.5119 GB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.2398, allocations: 67.48 kB / 0.512 GB, free: 8.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2398, allocations: 0 / 0.512 GB, free: 8.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003104/0.2401, allocations: 125.4 kB / 0.5121 GB, free: 8.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.2402, allocations: 89.05 kB / 0.5122 GB, free: 8.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2403, allocations: 136.7 kB / 0.5123 GB, free: 8.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2404, allocations: 25.7 kB / 0.5123 GB, free: 8.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.2404, allocations: 92.12 kB / 0.5124 GB, free: 8.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.2404, allocations: 11.81 kB / 0.5124 GB, free: 8.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.2404, allocations: 8 kB / 0.5124 GB, free: 8.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2406, allocations: 318.8 kB / 0.5127 GB, free: 7.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.2406, allocations: 23.98 kB / 0.5127 GB, free: 7.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.2407, allocations: 61.14 kB / 0.5128 GB, free: 7.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.2408, allocations: 24 kB / 0.5128 GB, free: 7.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2408, allocations: 4 kB / 0.5128 GB, free: 7.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001977/0.241, allocations: 121.4 kB / 0.5129 GB, free: 7.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2411, allocations: 4 kB / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2411, allocations: 3.938 kB / 0.513 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2411, allocations: 4 kB / 0.513 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.2412, allocations: 20.08 kB / 0.513 GB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.2412, allocations: 4 kB / 0.513 GB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.2412, allocations: 7.953 kB / 0.513 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2413, allocations: 4 kB / 0.513 GB, free: 7.629 MB / 362.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 () * 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.0001038/0.2414, allocations: 137.5 kB / 0.5131 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.2414, allocations: 49.61 kB / 0.5132 GB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.2415, allocations: 20.3 kB / 0.5132 GB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2415, allocations: 0 / 0.5132 GB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2415, allocations: 0 / 0.5132 GB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2415, allocations: 8 kB / 0.5132 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.2419, allocations: 344.3 kB / 0.5135 GB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2419, allocations: 3.938 kB / 0.5135 GB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.2419, allocations: 15.98 kB / 0.5135 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2419, allocations: 4 kB / 0.5135 GB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.242, allocations: 0 / 0.5135 GB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.242, allocations: 0 / 0.5135 GB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.242, allocations: 7.953 kB / 0.5136 GB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.2422, allocations: 217.8 kB / 0.5138 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.2423, allocations: 97 kB / 0.5139 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2423, allocations: 0 / 0.5139 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.2424, allocations: 16.19 kB / 0.5139 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.2425, allocations: 7.984 kB / 0.5139 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2425, allocations: 0 / 0.5139 GB, free: 6.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.982e-05/0.2426, allocations: 111.2 kB / 0.514 GB, free: 6.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2426, allocations: 0 / 0.514 GB, free: 6.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.2428, allocations: 16 kB / 0.514 GB, free: 6.488 MB / 362.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) * 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.0001236/0.2429, allocations: 99.17 kB / 0.5141 GB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.2431, allocations: 67.91 kB / 0.5142 GB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2432, allocations: 4 kB / 0.5142 GB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/0.2432, allocations: 20.06 kB / 0.5142 GB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.2435, allocations: 31.95 kB / 0.5142 GB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.2439, allocations: 230.5 kB / 0.5144 GB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.2442, allocations: 0.7082 MB / 0.5151 GB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.2442, allocations: 8.656 kB / 0.5151 GB, free: 5.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.2443, allocations: 19.44 kB / 0.5152 GB, free: 5.23 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2443, allocations: 0 / 0.5152 GB, free: 5.23 MB / 362.7 MB Notification: Performance of Templates: time 0.00329/0.2476, allocations: 0.7033 MB / 0.5158 GB, free: 4.539 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches