Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 182.2 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.703/1.703, allocations: 205.2 MB / 219 MB, free: 9.145 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.001015/0.001015, allocations: 100.4 kB / 267.1 MB, free: 9.262 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.09368/0.09368, allocations: 12.58 MB / 327.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.915e-05/3.919e-05, allocations: 8 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 50.38 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5385, allocations: 78.2 MB / 0.5025 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.5388, allocations: 81.39 kB / 0.5026 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004237/0.5431, allocations: 1.673 MB / 0.5042 GB, free: 11.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5431, allocations: 0 / 0.5042 GB, free: 11.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.5431, allocations: 0 / 0.5042 GB, free: 11.49 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.0003318/0.5434, allocations: 370.4 kB / 0.5046 GB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5435, allocations: 11.12 kB / 0.5046 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.5435, allocations: 11.75 kB / 0.5046 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.5437, allocations: 188.8 kB / 0.5048 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.5437, allocations: 8.672 kB / 0.5048 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.5438, allocations: 2.375 kB / 0.5048 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.544, allocations: 125.2 kB / 0.5049 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.544, allocations: 4 kB / 0.5049 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.544, allocations: 0 / 0.5049 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5441, allocations: 7.875 kB / 0.5049 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.5441, allocations: 24.97 kB / 0.5049 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.5445, allocations: 389.2 kB / 0.5053 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.344e-05/0.5446, allocations: 70.03 kB / 0.5054 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.5447, allocations: 30.11 kB / 0.5054 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.5447, allocations: 0 / 0.5054 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.5447, allocations: 45.23 kB / 0.5055 GB, free: 10.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.5447, allocations: 0 / 0.5055 GB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001926/0.5449, allocations: 72.58 kB / 0.5055 GB, free: 10.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.545, allocations: 102.8 kB / 0.5056 GB, free: 10.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.5451, allocations: 136.4 kB / 0.5058 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.5451, allocations: 28.86 kB / 0.5058 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.5451, allocations: 98.31 kB / 0.5059 GB, free: 9.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.5452, allocations: 3.906 kB / 0.5059 GB, free: 9.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.5452, allocations: 0 / 0.5059 GB, free: 9.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.5452, allocations: 325.3 kB / 0.5062 GB, free: 9.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.5453, allocations: 6.719 kB / 0.5062 GB, free: 9.613 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.5453, allocations: 33.06 kB / 0.5062 GB, free: 9.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.5453, allocations: 22.17 kB / 0.5062 GB, free: 9.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5453, allocations: 0 / 0.5062 GB, free: 9.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.921e-05/0.5454, allocations: 72.64 kB / 0.5063 GB, free: 9.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5454, allocations: 7.688 kB / 0.5063 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5455, allocations: 0 / 0.5063 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5455, allocations: 0 / 0.5063 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.5456, allocations: 20.72 kB / 0.5063 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5456, allocations: 3.844 kB / 0.5063 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.5456, allocations: 3.844 kB / 0.5064 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.5457, allocations: 10.2 kB / 0.5064 GB, free: 9.527 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: 0 () * 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.649e-05/0.5457, allocations: 112.7 kB / 0.5065 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.5458, allocations: 51.81 kB / 0.5065 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.5458, allocations: 17.06 kB / 0.5065 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5458, allocations: 4.031 kB / 0.5065 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5459, allocations: 0 / 0.5065 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5459, allocations: 0 / 0.5065 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.546, allocations: 182.9 kB / 0.5067 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.546, allocations: 2.438 kB / 0.5067 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.5461, allocations: 13.64 kB / 0.5067 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5461, allocations: 0 / 0.5067 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.5461, allocations: 3.844 kB / 0.5067 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5462, allocations: 3.094 kB / 0.5067 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5462, allocations: 0 / 0.5067 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.5463, allocations: 282.4 kB / 0.507 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.5464, allocations: 98.25 kB / 0.5071 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.5464, allocations: 3.719 kB / 0.5071 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5465, allocations: 7.844 kB / 0.5071 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.5466, allocations: 6.75 kB / 0.5071 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5466, allocations: 3.938 kB / 0.5071 GB, free: 8.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.061e-05/0.5467, allocations: 119.1 kB / 0.5072 GB, free: 8.723 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5467, allocations: 0 / 0.5072 GB, free: 8.723 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000228/0.5469, allocations: 11.44 kB / 0.5072 GB, free: 8.723 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: 0 () * 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.285e-05/0.547, allocations: 94.56 kB / 0.5073 GB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.973e-05/0.5471, allocations: 34.89 kB / 0.5074 GB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5471, allocations: 0 / 0.5074 GB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.5471, allocations: 15.31 kB / 0.5074 GB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.5474, allocations: 23.83 kB / 0.5074 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.5477, allocations: 135.4 kB / 0.5075 GB, free: 8.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.5479, allocations: 0.7048 MB / 0.5082 GB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.5479, allocations: 10.64 kB / 0.5082 GB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.548, allocations: 17.11 kB / 0.5082 GB, free: 7.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.548, allocations: 0 / 0.5082 GB, free: 7.797 MB / 330.7 MB Notification: Performance of Templates: time 0.002479/0.5505, allocations: 0.6244 MB / 0.5089 GB, free: 7.719 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches