Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, 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.652/1.652, 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.000869/0.0008689, allocations: 86.59 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.09014/0.09014, allocations: 12.59 MB / 327.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.525e-05, allocations: 4 kB / 386 MB, free: 69.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 50.37 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4883, allocations: 77.59 MB / 0.5019 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.4885, allocations: 83.03 kB / 0.502 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002793/0.4913, allocations: 1.273 MB / 0.5032 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4914, allocations: 0 / 0.5032 GB, free: 11.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4914, allocations: 7.875 kB / 0.5032 GB, free: 11.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002668/0.4917, allocations: 354.6 kB / 0.5036 GB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4917, allocations: 10.33 kB / 0.5036 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.4918, allocations: 11.69 kB / 0.5036 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.492, allocations: 190 kB / 0.5038 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.492, allocations: 11.19 kB / 0.5038 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.492, allocations: 3.844 kB / 0.5038 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.4922, allocations: 115.7 kB / 0.5039 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4923, allocations: 0 / 0.5039 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4923, allocations: 2.812 kB / 0.5039 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.4923, allocations: 0 / 0.5039 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.4923, allocations: 21.3 kB / 0.5039 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.4927, allocations: 379.1 kB / 0.5043 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.602e-05/0.4928, allocations: 66.11 kB / 0.5044 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.4928, allocations: 26.53 kB / 0.5044 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.4928, allocations: 3.844 kB / 0.5044 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.4929, allocations: 37.88 kB / 0.5044 GB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4929, allocations: 4 kB / 0.5044 GB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001722/0.493, allocations: 68.56 kB / 0.5045 GB, free: 10.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4931, allocations: 109.4 kB / 0.5046 GB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.4932, allocations: 132.1 kB / 0.5047 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.4932, allocations: 28.45 kB / 0.5048 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.4932, allocations: 86.52 kB / 0.5048 GB, free: 9.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.4933, allocations: 14.5 kB / 0.5048 GB, free: 9.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.4933, allocations: 4 kB / 0.5049 GB, free: 9.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.4933, allocations: 318.3 kB / 0.5052 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.4933, allocations: 9.844 kB / 0.5052 GB, free: 9.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.4934, allocations: 30.52 kB / 0.5052 GB, free: 9.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.4934, allocations: 17.61 kB / 0.5052 GB, free: 9.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4934, allocations: 0 / 0.5052 GB, free: 9.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.563e-05/0.4935, allocations: 68.45 kB / 0.5053 GB, free: 9.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4935, allocations: 7.656 kB / 0.5053 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4935, allocations: 0 / 0.5053 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4935, allocations: 0 / 0.5053 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.4936, allocations: 14.12 kB / 0.5053 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4936, allocations: 3.969 kB / 0.5053 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.4937, allocations: 14.52 kB / 0.5053 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4937, allocations: 3.844 kB / 0.5053 GB, free: 9.547 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.663e-05/0.4938, allocations: 112.2 kB / 0.5054 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.4938, allocations: 51.36 kB / 0.5055 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.4939, allocations: 13.53 kB / 0.5055 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4939, allocations: 0 / 0.5055 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4939, allocations: 0 / 0.5055 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4939, allocations: 7.875 kB / 0.5055 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.4941, allocations: 178.2 kB / 0.5057 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4941, allocations: 0 / 0.5057 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.4942, allocations: 14.33 kB / 0.5057 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4942, allocations: 0 / 0.5057 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4942, allocations: 3.875 kB / 0.5057 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4942, allocations: 0 / 0.5057 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4942, allocations: 0 / 0.5057 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4943, allocations: 277.4 kB / 0.5059 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.4944, allocations: 90.56 kB / 0.506 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.4944, allocations: 3.688 kB / 0.506 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.4945, allocations: 6.609 kB / 0.506 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4946, allocations: 14.92 kB / 0.5061 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.4946, allocations: 0 / 0.5061 GB, free: 8.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.4946, allocations: 107.2 kB / 0.5062 GB, free: 8.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4946, allocations: 3.938 kB / 0.5062 GB, free: 8.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.4949, allocations: 11.09 kB / 0.5062 GB, free: 8.754 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.043e-05/0.495, allocations: 90.69 kB / 0.5063 GB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.495, allocations: 28.94 kB / 0.5063 GB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4951, allocations: 7.375 kB / 0.5063 GB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.4951, allocations: 7.656 kB / 0.5063 GB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.4954, allocations: 28.86 kB / 0.5063 GB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.4956, allocations: 120.8 kB / 0.5064 GB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.4957, allocations: 0.6938 MB / 0.5071 GB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.4958, allocations: 10.95 kB / 0.5071 GB, free: 7.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.4958, allocations: 11.28 kB / 0.5071 GB, free: 7.855 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4958, allocations: 3.938 kB / 0.5071 GB, free: 7.852 MB / 330.7 MB Notification: Performance of Templates: time 0.002196/0.498, allocations: 0.5617 MB / 0.5077 GB, free: 7.77 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches