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.00102/0.00102, allocations: 179.6 kB / 15.8 MB, free: 6.336 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.602/1.602, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009892/0.0009893, allocations: 94.78 kB / 270.3 MB, free: 13.35 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.08158/0.08158, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004649, allocations: 14.31 kB / 392 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1113, allocations: 50.37 MB / 442.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.2216, allocations: 78.34 MB / 0.5085 GB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.2219, allocations: 79.95 kB / 0.5086 GB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005797/0.2277, allocations: 1.995 MB / 0.5105 GB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2277, allocations: 0 / 0.5105 GB, free: 10.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2278, allocations: 3.938 kB / 0.5105 GB, free: 10.43 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.0004768/0.2282, allocations: 363 kB / 0.5109 GB, free: 10.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2283, allocations: 12.03 kB / 0.5109 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.2283, allocations: 7.906 kB / 0.5109 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.2286, allocations: 202.7 kB / 0.5111 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2286, allocations: 8 kB / 0.5111 GB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.2286, allocations: 4 kB / 0.5111 GB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.2289, allocations: 105 kB / 0.5112 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.229, allocations: 0 / 0.5112 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.229, allocations: 0 / 0.5112 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.229, allocations: 4 kB / 0.5112 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.2291, allocations: 23.92 kB / 0.5112 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.2294, allocations: 269.8 kB / 0.5115 GB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.2295, allocations: 50.67 kB / 0.5115 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2296, allocations: 7.984 kB / 0.5115 GB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.2296, allocations: 30.56 kB / 0.5116 GB, free: 9.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2296, allocations: 0 / 0.5116 GB, free: 9.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003129/0.2299, allocations: 77.67 kB / 0.5116 GB, free: 9.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.23, allocations: 81.11 kB / 0.5117 GB, free: 9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2301, allocations: 125.3 kB / 0.5118 GB, free: 8.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2301, allocations: 25.7 kB / 0.5119 GB, free: 8.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.2302, allocations: 92.14 kB / 0.5119 GB, free: 8.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.2302, allocations: 7.891 kB / 0.512 GB, free: 8.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2302, allocations: 4.156 kB / 0.512 GB, free: 8.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2303, allocations: 318.8 kB / 0.5123 GB, free: 8.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.2304, allocations: 8 kB / 0.5123 GB, free: 8.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.276e-05/0.2304, allocations: 25.7 kB / 0.5123 GB, free: 8.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.2305, allocations: 16 kB / 0.5123 GB, free: 8.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2305, allocations: 0 / 0.5123 GB, free: 8.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.2306, allocations: 57.67 kB / 0.5124 GB, free: 8.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2306, allocations: 4 kB / 0.5124 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2307, allocations: 0 / 0.5124 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2307, allocations: 4 kB / 0.5124 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.2307, allocations: 4 kB / 0.5124 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2308, allocations: 8.047 kB / 0.5124 GB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.2308, allocations: 7.938 kB / 0.5124 GB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.2308, allocations: 0 / 0.5124 GB, free: 8.266 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 () * Number of clocked 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 9.248e-05/0.2309, allocations: 121.6 kB / 0.5125 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.231, allocations: 41.59 kB / 0.5125 GB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.231, allocations: 11.88 kB / 0.5126 GB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.231, allocations: 3.938 kB / 0.5126 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.231, allocations: 0 / 0.5126 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.231, allocations: 7.969 kB / 0.5126 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.2312, allocations: 173.6 kB / 0.5127 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2312, allocations: 0 / 0.5127 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.2313, allocations: 11.98 kB / 0.5127 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2313, allocations: 0 / 0.5127 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.2313, allocations: 4 kB / 0.5128 GB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2313, allocations: 0 / 0.5128 GB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2313, allocations: 0 / 0.5128 GB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2315, allocations: 181.9 kB / 0.5129 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.2316, allocations: 89 kB / 0.513 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.2317, allocations: 3.984 kB / 0.513 GB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2318, allocations: 8 kB / 0.513 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.2318, allocations: 0 / 0.513 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2318, allocations: 4.031 kB / 0.513 GB, free: 7.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.2319, allocations: 107.2 kB / 0.5131 GB, free: 7.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.232, allocations: 4 kB / 0.5131 GB, free: 7.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.2322, allocations: 4 kB / 0.5131 GB, free: 7.395 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 () * Number of clocked 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.0001041/0.2323, allocations: 95.2 kB / 0.5132 GB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.2325, allocations: 27.92 kB / 0.5133 GB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2325, allocations: 4.125 kB / 0.5133 GB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.2325, allocations: 11.98 kB / 0.5133 GB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2328, allocations: 15.78 kB / 0.5133 GB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.2331, allocations: 189.7 kB / 0.5135 GB, free: 7.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.2334, allocations: 0.6965 MB / 0.5141 GB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.185e-05/0.2335, allocations: 0 / 0.5141 GB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.2335, allocations: 11.44 kB / 0.5142 GB, free: 6.285 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2335, allocations: 0 / 0.5142 GB, free: 6.285 MB / 362.7 MB Notification: Performance of Templates: time 0.002419/0.2359, allocations: 471.5 kB / 0.5146 GB, free: 5.828 MB / 362.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/jenkins/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