Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 181 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.512/1.512, 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.0008281/0.0008282, allocations: 86.81 kB / 270.3 MB, free: 13.34 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.06832/0.06832, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 13.16 kB / 392 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 50.37 MB / 442.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.2183, allocations: 78.76 MB / 0.5089 GB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.2186, allocations: 83.89 kB / 0.509 GB, free: 11.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.2302, allocations: 4.146 MB / 0.513 GB, free: 7.816 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2302, allocations: 0 / 0.513 GB, free: 7.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.2302, allocations: 8 kB / 0.5131 GB, free: 7.809 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005233/0.2308, allocations: 418.7 kB / 0.5134 GB, free: 7.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2308, allocations: 12.03 kB / 0.5135 GB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.2309, allocations: 11.81 kB / 0.5135 GB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.2311, allocations: 210.8 kB / 0.5137 GB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.2312, allocations: 11.95 kB / 0.5137 GB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2312, allocations: 8 kB / 0.5137 GB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.2317, allocations: 281.2 kB / 0.514 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2317, allocations: 0 / 0.514 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2317, allocations: 0 / 0.514 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2318, allocations: 0 / 0.514 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.2319, allocations: 67.84 kB / 0.514 GB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.2324, allocations: 302.6 kB / 0.5143 GB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.2327, allocations: 139.6 kB / 0.5144 GB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.2327, allocations: 4.062 kB / 0.5145 GB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2327, allocations: 34.78 kB / 0.5145 GB, free: 6.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.2327, allocations: 4 kB / 0.5145 GB, free: 6.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004346/0.2332, allocations: 189.5 kB / 0.5147 GB, free: 5.941 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2333, allocations: 110.8 kB / 0.5148 GB, free: 5.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2334, allocations: 137.4 kB / 0.5149 GB, free: 5.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2335, allocations: 29.7 kB / 0.5149 GB, free: 5.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.2335, allocations: 96.44 kB / 0.515 GB, free: 5.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.2336, allocations: 15.94 kB / 0.515 GB, free: 5.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.2336, allocations: 8 kB / 0.515 GB, free: 5.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2337, allocations: 326.8 kB / 0.5154 GB, free: 5.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.2338, allocations: 36.28 kB / 0.5154 GB, free: 5.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.234, allocations: 139 kB / 0.5155 GB, free: 4.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.304e-05/0.2341, allocations: 43.94 kB / 0.5156 GB, free: 4.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2341, allocations: 4 kB / 0.5156 GB, free: 4.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002787/0.2344, allocations: 177.7 kB / 0.5157 GB, free: 4.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2344, allocations: 8 kB / 0.5158 GB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2344, allocations: 8.031 kB / 0.5158 GB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2344, allocations: 4 kB / 0.5158 GB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.2346, allocations: 31.92 kB / 0.5158 GB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.2346, allocations: 11.92 kB / 0.5158 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.2347, allocations: 15.91 kB / 0.5158 GB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2347, allocations: 8 kB / 0.5158 GB, free: 4.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001235/0.2348, allocations: 149.4 kB / 0.516 GB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.235, allocations: 121.7 kB / 0.5161 GB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.2351, allocations: 24.7 kB / 0.5161 GB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2351, allocations: 4 kB / 0.5161 GB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2351, allocations: 0 / 0.5161 GB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2351, allocations: 0 / 0.5161 GB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.2354, allocations: 197.6 kB / 0.5163 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2354, allocations: 0 / 0.5163 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.2355, allocations: 23.98 kB / 0.5163 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2355, allocations: 0 / 0.5163 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.2355, allocations: 19.88 kB / 0.5163 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2355, allocations: 4 kB / 0.5163 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2355, allocations: 0 / 0.5163 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.2359, allocations: 272.4 kB / 0.5166 GB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.236, allocations: 108.8 kB / 0.5167 GB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.236, allocations: 8 kB / 0.5167 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.2361, allocations: 11.98 kB / 0.5167 GB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.2361, allocations: 0 / 0.5167 GB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.2362, allocations: 4 kB / 0.5167 GB, free: 3.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.767e-05/0.2363, allocations: 123.9 kB / 0.5169 GB, free: 3.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2363, allocations: 0 / 0.5169 GB, free: 3.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.2365, allocations: 20 kB / 0.5169 GB, free: 3.457 MB / 362.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 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001323/0.2367, allocations: 103.3 kB / 0.517 GB, free: 3.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.2369, allocations: 118.3 kB / 0.5171 GB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.237, allocations: 1.062 kB / 0.5171 GB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.505e-05/0.237, allocations: 15.98 kB / 0.5171 GB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.2374, allocations: 79.89 kB / 0.5172 GB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.2379, allocations: 299.7 kB / 0.5175 GB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.2383, allocations: 0.7205 MB / 0.5182 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.2383, allocations: 5.438 kB / 0.5182 GB, free: 2.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.2384, allocations: 23.42 kB / 0.5182 GB, free: 2.039 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2384, allocations: 0 / 0.5182 GB, free: 2.039 MB / 362.7 MB Notification: Performance of Templates: time 0.003479/0.2419, allocations: 1.045 MB / 0.5192 GB, free: 0.9961 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches