Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001892/0.001892, allocations: 94.91 kB / 261.8 MB, free: 13.44 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.109/0.109, allocations: 12.61 MB / 322.4 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.881e-05, allocations: 0 / 378.9 MB, free: 75.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09638, allocations: 50.38 MB / 429.3 MB, free: 24.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.5344, allocations: 77.59 MB / 0.495 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5347, allocations: 75.64 kB / 0.4951 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007854/0.5426, allocations: 1.966 MB / 0.497 GB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5427, allocations: 0 / 0.497 GB, free: 11.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.5427, allocations: 7.812 kB / 0.497 GB, free: 11.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00036/0.5431, allocations: 346.5 kB / 0.4973 GB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5431, allocations: 7.719 kB / 0.4974 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.5432, allocations: 7.719 kB / 0.4974 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.5434, allocations: 197.4 kB / 0.4975 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.5434, allocations: 4 kB / 0.4976 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.5435, allocations: 7.953 kB / 0.4976 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.5436, allocations: 20 kB / 0.4976 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.5438, allocations: 90.42 kB / 0.4977 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5439, allocations: 0 / 0.4977 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5439, allocations: 0 / 0.4977 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5439, allocations: 4 kB / 0.4977 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.5443, allocations: 253.3 kB / 0.4979 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.5444, allocations: 36.97 kB / 0.4979 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.5444, allocations: 17.03 kB / 0.498 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.5444, allocations: 3.812 kB / 0.498 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.5445, allocations: 30.56 kB / 0.498 GB, free: 10.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.5445, allocations: 0 / 0.498 GB, free: 10.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.5447, allocations: 49.52 kB / 0.498 GB, free: 10.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.5447, allocations: 77.11 kB / 0.4981 GB, free: 10.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5448, allocations: 125.5 kB / 0.4982 GB, free: 10.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.5449, allocations: 25.7 kB / 0.4983 GB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.5449, allocations: 93.83 kB / 0.4983 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.5449, allocations: 3.25 kB / 0.4984 GB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.545, allocations: 0 / 0.4984 GB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.545, allocations: 321.4 kB / 0.4987 GB, free: 9.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.5451, allocations: 3.438 kB / 0.4987 GB, free: 9.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.5451, allocations: 13.56 kB / 0.4987 GB, free: 9.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.5451, allocations: 11.22 kB / 0.4987 GB, free: 9.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5451, allocations: 3.938 kB / 0.4987 GB, free: 9.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.718e-05/0.5452, allocations: 48.53 kB / 0.4987 GB, free: 9.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5453, allocations: 3.875 kB / 0.4987 GB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5453, allocations: 4 kB / 0.4987 GB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5453, allocations: 0 / 0.4987 GB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.5454, allocations: 10.52 kB / 0.4988 GB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5455, allocations: 4.062 kB / 0.4988 GB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.5455, allocations: 9 kB / 0.4988 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.5455, allocations: 2.766 kB / 0.4988 GB, free: 9.914 MB / 330.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 5.62e-05/0.5456, allocations: 114.3 kB / 0.4989 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.5457, allocations: 37.36 kB / 0.4989 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.5457, allocations: 13.53 kB / 0.4989 GB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.5457, allocations: 0 / 0.4989 GB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5458, allocations: 0 / 0.4989 GB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5458, allocations: 0 / 0.4989 GB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.5459, allocations: 159.8 kB / 0.4991 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.546, allocations: 3.953 kB / 0.4991 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.546, allocations: 3.812 kB / 0.4991 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.546, allocations: 0 / 0.4991 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5461, allocations: 6.891 kB / 0.4991 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5461, allocations: 0 / 0.4991 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5461, allocations: 0 / 0.4991 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.5462, allocations: 162.2 kB / 0.4992 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.5463, allocations: 90.48 kB / 0.4993 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.5463, allocations: 0 / 0.4993 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.5464, allocations: 10.34 kB / 0.4993 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.5465, allocations: 0 / 0.4993 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.5465, allocations: 0 / 0.4993 GB, free: 9.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.558e-05/0.5466, allocations: 105.3 kB / 0.4994 GB, free: 9.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5466, allocations: 4.031 kB / 0.4994 GB, free: 9.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.5469, allocations: 3.844 kB / 0.4995 GB, free: 9.254 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: 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 8.555e-05/0.547, allocations: 97.62 kB / 0.4995 GB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.105e-05/0.5471, allocations: 10.75 kB / 0.4996 GB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5471, allocations: 0 / 0.4996 GB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.5471, allocations: 7.062 kB / 0.4996 GB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.5475, allocations: 26.06 kB / 0.4996 GB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.5478, allocations: 85.16 kB / 0.4997 GB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.548, allocations: 0.6975 MB / 0.5003 GB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.142e-05/0.548, allocations: 4.375 kB / 0.5004 GB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.5481, allocations: 7.438 kB / 0.5004 GB, free: 8.363 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5481, allocations: 0 / 0.5004 GB, free: 8.363 MB / 330.7 MB Notification: Performance of Templates: time 0.003083/0.5512, allocations: 448.4 kB / 0.5008 GB, free: 8.301 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches