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.001578/0.001578, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.584/1.584, allocations: 205.2 MB / 219 MB, free: 9.203 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.000894/0.0008941, allocations: 97.5 kB / 267.1 MB, free: 9.277 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.08033/0.08033, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.142e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.07984, allocations: 50.38 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4209, allocations: 78.73 MB / 0.503 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4212, allocations: 83.56 kB / 0.5031 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005177/0.4264, allocations: 1.624 MB / 0.5047 GB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4265, allocations: 3.812 kB / 0.5047 GB, free: 11.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.4265, allocations: 0 / 0.5047 GB, free: 11.46 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.0003385/0.4268, allocations: 369.7 kB / 0.5051 GB, free: 11.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4269, allocations: 10.64 kB / 0.5051 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.4269, allocations: 11.59 kB / 0.5051 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4271, allocations: 199.2 kB / 0.5053 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4271, allocations: 7.031 kB / 0.5053 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.4272, allocations: 7.438 kB / 0.5053 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.4275, allocations: 133.5 kB / 0.5054 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4275, allocations: 0 / 0.5054 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4275, allocations: 3.25 kB / 0.5054 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.4275, allocations: 3.844 kB / 0.5054 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.4276, allocations: 15.38 kB / 0.5054 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.4281, allocations: 319.4 kB / 0.5057 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.4283, allocations: 143.7 kB / 0.5059 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.4284, allocations: 32.75 kB / 0.5059 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4284, allocations: 15.61 kB / 0.5059 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.491e-05/0.4285, allocations: 63.02 kB / 0.506 GB, free: 10.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.4285, allocations: 0 / 0.506 GB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002087/0.4287, allocations: 84.53 kB / 0.5061 GB, free: 10.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.4288, allocations: 83.31 kB / 0.5061 GB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4289, allocations: 135.1 kB / 0.5063 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.4289, allocations: 25.7 kB / 0.5063 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.4289, allocations: 101.7 kB / 0.5064 GB, free: 9.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.429, allocations: 11.62 kB / 0.5064 GB, free: 9.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.429, allocations: 3.844 kB / 0.5064 GB, free: 9.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.429, allocations: 316.9 kB / 0.5067 GB, free: 9.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.4291, allocations: 19.12 kB / 0.5067 GB, free: 9.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/0.4292, allocations: 54.08 kB / 0.5068 GB, free: 9.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/0.4292, allocations: 29.62 kB / 0.5068 GB, free: 9.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4292, allocations: 0 / 0.5068 GB, free: 9.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001905/0.4294, allocations: 99.98 kB / 0.5069 GB, free: 9.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4295, allocations: 7.781 kB / 0.5069 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4295, allocations: 4 kB / 0.5069 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4295, allocations: 4 kB / 0.5069 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.73e-05/0.4296, allocations: 14.55 kB / 0.5069 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4296, allocations: 3.844 kB / 0.5069 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.4297, allocations: 14.05 kB / 0.507 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.4297, allocations: 3.969 kB / 0.507 GB, free: 9.523 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 () * 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 5.179e-05/0.4298, allocations: 112 kB / 0.5071 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.4299, allocations: 55 kB / 0.5071 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.4299, allocations: 17.42 kB / 0.5071 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.43, allocations: 4 kB / 0.5071 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.43, allocations: 0 / 0.5071 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.43, allocations: 0 / 0.5071 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.4303, allocations: 342.3 kB / 0.5075 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4303, allocations: 0 / 0.5075 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.4304, allocations: 10.17 kB / 0.5075 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4304, allocations: 3.969 kB / 0.5075 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4304, allocations: 5.391 kB / 0.5075 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4304, allocations: 4 kB / 0.5075 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4304, allocations: 3.953 kB / 0.5075 GB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.4306, allocations: 201.9 kB / 0.5077 GB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.4307, allocations: 97.08 kB / 0.5078 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.4307, allocations: 7.156 kB / 0.5078 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4308, allocations: 7.922 kB / 0.5078 GB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.4309, allocations: 10.7 kB / 0.5078 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4309, allocations: 3.875 kB / 0.5078 GB, free: 8.777 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.526e-05/0.431, allocations: 110.4 kB / 0.5079 GB, free: 8.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.431, allocations: 0 / 0.5079 GB, free: 8.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003759/0.4313, allocations: 15.03 kB / 0.5079 GB, free: 8.703 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) * 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 8.155e-05/0.4314, allocations: 97.17 kB / 0.508 GB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.4316, allocations: 54.16 kB / 0.5081 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4316, allocations: 4.312 kB / 0.5081 GB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/0.4317, allocations: 20.33 kB / 0.5081 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.432, allocations: 20.41 kB / 0.5081 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.4323, allocations: 136.8 kB / 0.5082 GB, free: 8.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.4324, allocations: 0.7065 MB / 0.5089 GB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.4325, allocations: 10.53 kB / 0.5089 GB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.4325, allocations: 11.28 kB / 0.5089 GB, free: 7.789 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4325, allocations: 0 / 0.5089 GB, free: 7.789 MB / 330.7 MB Notification: Performance of Templates: time 0.003299/0.4358, allocations: 0.7138 MB / 0.5096 GB, free: 7.641 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/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