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.001008/0.001008, allocations: 172.5 kB / 16.8 MB, free: 4.898 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.553/1.553, allocations: 205.4 MB / 223 MB, free: 8.93 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.0007586/0.0007585, allocations: 87.39 kB / 271.3 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07462/0.07462, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004365, allocations: 16 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08498/0.08543, allocations: 50.36 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2753/0.3608, allocations: 78.86 MB / 0.5102 GB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.3611, allocations: 82.42 kB / 0.5103 GB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003719/0.3648, allocations: 1.629 MB / 0.5119 GB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3648, allocations: 3.844 kB / 0.5119 GB, free: 12.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3648, allocations: 4 kB / 0.5119 GB, free: 12.71 MB / 330.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.0003173/0.3652, allocations: 384.3 kB / 0.5123 GB, free: 12.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3652, allocations: 11.56 kB / 0.5123 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.3652, allocations: 19.62 kB / 0.5123 GB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3654, allocations: 199.2 kB / 0.5125 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3654, allocations: 4.219 kB / 0.5125 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.3654, allocations: 8.156 kB / 0.5125 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.3657, allocations: 142.9 kB / 0.5126 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3657, allocations: 192 / 0.5126 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3657, allocations: 3.938 kB / 0.5126 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3657, allocations: 0 / 0.5126 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.3658, allocations: 37.78 kB / 0.5127 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.3662, allocations: 312.7 kB / 0.513 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3664, allocations: 159.7 kB / 0.5131 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.3664, allocations: 44.05 kB / 0.5132 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3665, allocations: 4 kB / 0.5132 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.048e-05/0.3666, allocations: 69.55 kB / 0.5132 GB, free: 11.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3666, allocations: 0 / 0.5132 GB, free: 11.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002479/0.3668, allocations: 121.9 kB / 0.5133 GB, free: 11.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.3669, allocations: 84.55 kB / 0.5134 GB, free: 11.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.367, allocations: 148.5 kB / 0.5136 GB, free: 11.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.367, allocations: 33.08 kB / 0.5136 GB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.367, allocations: 86.7 kB / 0.5137 GB, free: 11.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.367, allocations: 10.88 kB / 0.5137 GB, free: 11.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.367, allocations: 7 kB / 0.5137 GB, free: 11.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.3671, allocations: 322.1 kB / 0.514 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.3671, allocations: 30.14 kB / 0.514 GB, free: 10.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.3672, allocations: 58.89 kB / 0.5141 GB, free: 10.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.3673, allocations: 91.41 kB / 0.5142 GB, free: 10.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3673, allocations: 0 / 0.5142 GB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001617/0.3675, allocations: 117.2 kB / 0.5143 GB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3675, allocations: 7.719 kB / 0.5143 GB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3675, allocations: 0 / 0.5143 GB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3676, allocations: 3.906 kB / 0.5143 GB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.3676, allocations: 22.86 kB / 0.5143 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3676, allocations: 0 / 0.5143 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.3677, allocations: 3.812 kB / 0.5143 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3677, allocations: 3.875 kB / 0.5143 GB, free: 10.54 MB / 330.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 6.613e-05/0.3678, allocations: 137.8 kB / 0.5145 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.3678, allocations: 60.78 kB / 0.5145 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.3679, allocations: 15.16 kB / 0.5145 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3679, allocations: 0 / 0.5145 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3679, allocations: 3.844 kB / 0.5145 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3679, allocations: 0 / 0.5145 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.3681, allocations: 353.6 kB / 0.5149 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3682, allocations: 0.875 kB / 0.5149 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.3682, allocations: 15.39 kB / 0.5149 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3682, allocations: 3.781 kB / 0.5149 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3682, allocations: 0 / 0.5149 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3682, allocations: 0 / 0.5149 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3683, allocations: 0 / 0.5149 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.3684, allocations: 220.3 kB / 0.5151 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.3685, allocations: 96.73 kB / 0.5152 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3685, allocations: 7.781 kB / 0.5152 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.3686, allocations: 11.83 kB / 0.5152 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.3686, allocations: 3.938 kB / 0.5152 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3686, allocations: 3.969 kB / 0.5152 GB, free: 9.742 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.3687, allocations: 109 kB / 0.5153 GB, free: 9.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3687, allocations: 4 kB / 0.5153 GB, free: 9.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.3689, allocations: 15.38 kB / 0.5153 GB, free: 9.656 MB / 330.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 7.348e-05/0.369, allocations: 95.17 kB / 0.5154 GB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3691, allocations: 73.12 kB / 0.5155 GB, free: 9.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3692, allocations: 0 / 0.5155 GB, free: 9.555 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.3692, allocations: 18.98 kB / 0.5155 GB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3695, allocations: 35.2 kB / 0.5156 GB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.3699, allocations: 226.7 kB / 0.5158 GB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.37, allocations: 0.7036 MB / 0.5165 GB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.772e-05/0.3701, allocations: 4.516 kB / 0.5165 GB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.3701, allocations: 11.28 kB / 0.5165 GB, free: 8.625 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3701, allocations: 96 / 0.5165 GB, free: 8.625 MB / 330.7 MB Notification: Performance of Templates: time 0.002511/0.3726, allocations: 0.7072 MB / 0.5172 GB, free: 8.277 MB / 330.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/jenkins1/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