Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002403/0.002404, allocations: 181 kB / 13.7 MB, free: 1.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001133/0.001133, allocations: 90.64 kB / 267.6 MB, free: 14.1 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.1076/0.1076, allocations: 12.61 MB / 328.2 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.486e-05, allocations: 7.984 kB / 386 MB, free: 1.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3191, allocations: 50.37 MB / 436.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.4615, allocations: 78.26 MB / 0.5025 GB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.4619, allocations: 71.95 kB / 0.5026 GB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008578/0.4705, allocations: 1.989 MB / 0.5046 GB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4705, allocations: 0 / 0.5046 GB, free: 13.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.4706, allocations: 0 / 0.5046 GB, free: 13.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004587/0.471, allocations: 346.4 kB / 0.5049 GB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4711, allocations: 8.031 kB / 0.5049 GB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.4711, allocations: 7.906 kB / 0.5049 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.4715, allocations: 210.7 kB / 0.5051 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4715, allocations: 0 / 0.5051 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.4715, allocations: 12 kB / 0.5051 GB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.4718, allocations: 97.03 kB / 0.5052 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4719, allocations: 0 / 0.5052 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4719, allocations: 4 kB / 0.5052 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4719, allocations: 0 / 0.5052 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.472, allocations: 8 kB / 0.5052 GB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.4725, allocations: 277.8 kB / 0.5055 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.674e-05/0.4726, allocations: 41.28 kB / 0.5055 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.4726, allocations: 17.7 kB / 0.5055 GB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.4727, allocations: 11.94 kB / 0.5055 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4727, allocations: 30.56 kB / 0.5056 GB, free: 12.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.943e-06/0.4727, allocations: 0 / 0.5056 GB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001913/0.4729, allocations: 45.64 kB / 0.5056 GB, free: 12.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.473, allocations: 77.11 kB / 0.5057 GB, free: 12.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.4732, allocations: 133.4 kB / 0.5058 GB, free: 12.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4732, allocations: 25.7 kB / 0.5058 GB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.4733, allocations: 158.5 kB / 0.506 GB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.4733, allocations: 0 / 0.506 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.4733, allocations: 4 kB / 0.506 GB, free: 12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4735, allocations: 314.8 kB / 0.5063 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.4735, allocations: 4 kB / 0.5063 GB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.4735, allocations: 13.72 kB / 0.5063 GB, free: 11.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.4736, allocations: 12.05 kB / 0.5063 GB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4736, allocations: 3.938 kB / 0.5063 GB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.4737, allocations: 45.64 kB / 0.5064 GB, free: 11.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4737, allocations: 4 kB / 0.5064 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4738, allocations: 0 / 0.5064 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4738, allocations: 0 / 0.5064 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4739, allocations: 11.98 kB / 0.5064 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4739, allocations: 0 / 0.5064 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.474, allocations: 12 kB / 0.5064 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.474, allocations: 0 / 0.5064 GB, free: 11.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.491e-05/0.4741, allocations: 112.7 kB / 0.5065 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.4742, allocations: 45.53 kB / 0.5066 GB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.4743, allocations: 11.66 kB / 0.5066 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4743, allocations: 0 / 0.5066 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4743, allocations: 0 / 0.5066 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4743, allocations: 0 / 0.5066 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.4745, allocations: 173.6 kB / 0.5067 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4746, allocations: 0 / 0.5067 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.4746, allocations: 15.92 kB / 0.5067 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4747, allocations: 0 / 0.5067 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4747, allocations: 4 kB / 0.5068 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.4747, allocations: 0 / 0.5068 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4747, allocations: 0 / 0.5068 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.4749, allocations: 169.9 kB / 0.5069 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.475, allocations: 97 kB / 0.507 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.475, allocations: 0 / 0.507 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.4751, allocations: 4 kB / 0.507 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.4752, allocations: 3.984 kB / 0.507 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.4752, allocations: 0 / 0.507 GB, free: 10.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.4753, allocations: 108 kB / 0.5071 GB, free: 10.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4753, allocations: 0 / 0.5071 GB, free: 10.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.4756, allocations: 11.98 kB / 0.5071 GB, free: 10.73 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001165/0.4757, allocations: 95.23 kB / 0.5072 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4759, allocations: 15.94 kB / 0.5072 GB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4759, allocations: 0 / 0.5072 GB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.4759, allocations: 8 kB / 0.5072 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.4763, allocations: 15.95 kB / 0.5073 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.4767, allocations: 126.9 kB / 0.5074 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.477, allocations: 0.6926 MB / 0.5081 GB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.477, allocations: 11.44 kB / 0.5081 GB, free: 9.695 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.477, allocations: 0 / 0.5081 GB, free: 9.695 MB / 362.7 MB Notification: Performance of Templates: time 0.002783/0.4798, allocations: 0.6989 MB / 0.5087 GB, free: 9 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches