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.001222/0.001222, allocations: 181.9 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.542/1.542, allocations: 205.2 MB / 219 MB, free: 9.207 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.0008584/0.0008587, allocations: 86.61 kB / 267.1 MB, free: 9.273 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.0862/0.0862, allocations: 12.58 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.375e-05, allocations: 0 / 386 MB, free: 69.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.38 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.505, allocations: 78.25 MB / 0.5026 GB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.5053, allocations: 79.3 kB / 0.5026 GB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005111/0.5104, allocations: 1.982 MB / 0.5046 GB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5104, allocations: 0 / 0.5046 GB, free: 11.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.5104, allocations: 3.812 kB / 0.5046 GB, free: 11.39 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.0003164/0.5108, allocations: 349.1 kB / 0.5049 GB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5108, allocations: 7.719 kB / 0.5049 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.5109, allocations: 11.88 kB / 0.5049 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.511, allocations: 199.1 kB / 0.5051 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.5111, allocations: 0 / 0.5051 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.5111, allocations: 7.781 kB / 0.5051 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.5113, allocations: 94.84 kB / 0.5052 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5113, allocations: 0 / 0.5052 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5114, allocations: 6.875 kB / 0.5052 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.5114, allocations: 0 / 0.5052 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.5114, allocations: 7.562 kB / 0.5052 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.5118, allocations: 272.4 kB / 0.5055 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.5118, allocations: 52.53 kB / 0.5055 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.5119, allocations: 9.719 kB / 0.5055 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.5119, allocations: 3.719 kB / 0.5055 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.5119, allocations: 33.5 kB / 0.5056 GB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.5119, allocations: 0 / 0.5056 GB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.5121, allocations: 45.86 kB / 0.5056 GB, free: 10.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.5121, allocations: 84.11 kB / 0.5057 GB, free: 10.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5123, allocations: 129.9 kB / 0.5058 GB, free: 10.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.5123, allocations: 25.7 kB / 0.5058 GB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.5123, allocations: 96.92 kB / 0.5059 GB, free: 10.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.5123, allocations: 3.938 kB / 0.5059 GB, free: 10 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.5124, allocations: 7.625 kB / 0.506 GB, free: 10 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.5124, allocations: 320.8 kB / 0.5063 GB, free: 9.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.5124, allocations: 3.875 kB / 0.5063 GB, free: 9.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.5125, allocations: 16.91 kB / 0.5063 GB, free: 9.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.5125, allocations: 7.812 kB / 0.5063 GB, free: 9.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5125, allocations: 0 / 0.5063 GB, free: 9.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.132e-05/0.5126, allocations: 50.3 kB / 0.5063 GB, free: 9.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5126, allocations: 7.688 kB / 0.5063 GB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5126, allocations: 0 / 0.5063 GB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5126, allocations: 6.797 kB / 0.5063 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.5127, allocations: 3.844 kB / 0.5064 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5127, allocations: 3.844 kB / 0.5064 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.5127, allocations: 6.656 kB / 0.5064 GB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.5128, allocations: 3.844 kB / 0.5064 GB, free: 9.613 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.838e-05/0.5128, allocations: 111.7 kB / 0.5065 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.5129, allocations: 33.36 kB / 0.5065 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.5129, allocations: 13.61 kB / 0.5065 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5129, allocations: 4.031 kB / 0.5065 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5129, allocations: 0 / 0.5065 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.513, allocations: 0 / 0.5065 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.5131, allocations: 183.8 kB / 0.5067 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5131, allocations: 0 / 0.5067 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.5132, allocations: 6.625 kB / 0.5067 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.5132, allocations: 3.688 kB / 0.5067 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.5132, allocations: 0 / 0.5067 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5132, allocations: 0 / 0.5067 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5132, allocations: 0 / 0.5067 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.616e-05/0.5133, allocations: 162.5 kB / 0.5069 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.5133, allocations: 94.27 kB / 0.507 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.5133, allocations: 3.984 kB / 0.507 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.5134, allocations: 3.875 kB / 0.507 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.5135, allocations: 2.625 kB / 0.507 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.5135, allocations: 7.875 kB / 0.507 GB, free: 8.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.658e-05/0.5135, allocations: 107.5 kB / 0.5071 GB, free: 8.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5135, allocations: 0 / 0.5071 GB, free: 8.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.5137, allocations: 11.64 kB / 0.5071 GB, free: 8.914 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 6.709e-05/0.5138, allocations: 93.19 kB / 0.5072 GB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.5139, allocations: 11.19 kB / 0.5072 GB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5139, allocations: 0 / 0.5072 GB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.5139, allocations: 11.16 kB / 0.5072 GB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.5141, allocations: 26.12 kB / 0.5072 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.5143, allocations: 88.08 kB / 0.5073 GB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.5145, allocations: 0.6995 MB / 0.508 GB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.837e-05/0.5145, allocations: 4 kB / 0.508 GB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.5145, allocations: 13.83 kB / 0.508 GB, free: 8.016 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5146, allocations: 4.156 kB / 0.508 GB, free: 8.012 MB / 330.7 MB Notification: Performance of Templates: time 0.002377/0.5169, allocations: 476.7 kB / 0.5085 GB, free: 7.945 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/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