Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 181.1 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 97.47 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002675, allocations: 7.938 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3112, allocations: 50.41 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.4193, allocations: 77.59 MB / 479.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4196, allocations: 80.86 kB / 479.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004789/0.4244, allocations: 1.699 MB / 480.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4244, allocations: 0 / 480.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.4245, allocations: 4 kB / 480.9 MB, free: 1.117 MB / 346.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.0004694/0.4249, allocations: 390.9 kB / 481.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.425, allocations: 15.97 kB / 481.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.425, allocations: 11.86 kB / 481.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.4253, allocations: 193.8 kB / 481.5 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.4253, allocations: 0 / 481.5 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4253, allocations: 8 kB / 481.5 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.4257, allocations: 147.8 kB / 481.6 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4257, allocations: 0 / 481.6 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.4257, allocations: 7.953 kB / 481.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4257, allocations: 0 / 481.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4258, allocations: 35.97 kB / 481.7 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.4263, allocations: 309.6 kB / 482 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.4266, allocations: 158.3 kB / 482.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4266, allocations: 4 kB / 482.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.4267, allocations: 63.48 kB / 482.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.4267, allocations: 4 kB / 482.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003294/0.4271, allocations: 117.7 kB / 482.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.4271, allocations: 89.11 kB / 482.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4273, allocations: 125 kB / 482.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4273, allocations: 29.7 kB / 482.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.4274, allocations: 96.03 kB / 482.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.4274, allocations: 15.91 kB / 482.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.4274, allocations: 0 / 482.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4275, allocations: 322.8 kB / 483 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.4276, allocations: 27.98 kB / 483 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.4277, allocations: 65.08 kB / 483.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.4278, allocations: 36.05 kB / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4278, allocations: 0 / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002023/0.428, allocations: 113.4 kB / 483.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.428, allocations: 10.97 kB / 483.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.428, allocations: 0 / 483.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.428, allocations: 4.156 kB / 483.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.4281, allocations: 23.92 kB / 483.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4281, allocations: 0 / 483.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.4282, allocations: 11.91 kB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4282, allocations: 4 kB / 483.3 MB, free: 14.45 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.000107/0.4283, allocations: 133.9 kB / 483.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.4284, allocations: 61.48 kB / 483.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.4284, allocations: 12.31 kB / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4285, allocations: 0 / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4285, allocations: 4 kB / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4285, allocations: 0 / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.4288, allocations: 346.5 kB / 483.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4289, allocations: 3.938 kB / 483.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.4289, allocations: 15.92 kB / 483.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4289, allocations: 0 / 483.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.429, allocations: 8 kB / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.429, allocations: 0 / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.429, allocations: 0 / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.4292, allocations: 217.9 kB / 484 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.4293, allocations: 97 kB / 484.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4293, allocations: 7.938 kB / 484.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.4294, allocations: 4.125 kB / 484.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.4294, allocations: 3.984 kB / 484.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.4294, allocations: 12 kB / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.851e-05/0.4295, allocations: 110.2 kB / 484.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4295, allocations: 0 / 484.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.4298, allocations: 12 kB / 484.3 MB, free: 13.31 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.0001242/0.4299, allocations: 107.2 kB / 484.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.4301, allocations: 71.84 kB / 484.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4301, allocations: 4 kB / 484.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.4302, allocations: 19.98 kB / 484.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.4304, allocations: 31.02 kB / 484.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.4308, allocations: 234.1 kB / 484.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4311, allocations: 0.7004 MB / 485.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.784e-05/0.4312, allocations: 12.66 kB / 485.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.4312, allocations: 11.44 kB / 485.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4312, allocations: 0 / 485.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of Templates: time 0.002777/0.434, allocations: 0.6932 MB / 486.2 MB, free: 11.38 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches