Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, 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.557/1.557, allocations: 205.2 MB / 219 MB, free: 9.203 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.0009558/0.0009558, allocations: 86.59 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.07443/0.07443, allocations: 12.58 MB / 327.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.107e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07667/0.07672, allocations: 50.38 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3159/0.3927, allocations: 79.14 MB / 0.5034 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.393, allocations: 73.98 kB / 0.5035 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.406, allocations: 5.218 MB / 0.5086 GB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4061, allocations: 0 / 0.5086 GB, free: 10.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4061, allocations: 3.969 kB / 0.5086 GB, free: 10.61 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004999/0.4066, allocations: 456.1 kB / 0.509 GB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4066, allocations: 7.688 kB / 0.509 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.4067, allocations: 31 kB / 0.5091 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.4069, allocations: 239.1 kB / 0.5093 GB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.407, allocations: 18.2 kB / 0.5093 GB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.407, allocations: 14.78 kB / 0.5093 GB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007438/0.4078, allocations: 0.6113 MB / 0.5099 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.4078, allocations: 0 / 0.5099 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.4078, allocations: 11.28 kB / 0.5099 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.4078, allocations: 11.06 kB / 0.51 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.4081, allocations: 163 kB / 0.5101 GB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.4085, allocations: 384.3 kB / 0.5105 GB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.4088, allocations: 223 kB / 0.5107 GB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.4089, allocations: 140.5 kB / 0.5108 GB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.409, allocations: 14.05 kB / 0.5108 GB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.409, allocations: 49.56 kB / 0.5109 GB, free: 9.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.333e-06/0.409, allocations: 0 / 0.5109 GB, free: 9.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004311/0.4095, allocations: 294.3 kB / 0.5112 GB, free: 9.098 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.4095, allocations: 142.8 kB / 0.5113 GB, free: 8.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4097, allocations: 146.4 kB / 0.5114 GB, free: 8.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4097, allocations: 32.45 kB / 0.5115 GB, free: 8.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.4097, allocations: 99.27 kB / 0.5116 GB, free: 8.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.4098, allocations: 48.69 kB / 0.5116 GB, free: 8.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.4098, allocations: 6.688 kB / 0.5116 GB, free: 8.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.4098, allocations: 337 kB / 0.5119 GB, free: 8.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.4099, allocations: 69.23 kB / 0.512 GB, free: 8.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4101, allocations: 311.4 kB / 0.5123 GB, free: 8.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4102, allocations: 129.6 kB / 0.5124 GB, free: 8.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4103, allocations: 4 kB / 0.5124 GB, free: 8.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004021/0.4107, allocations: 386.1 kB / 0.5128 GB, free: 7.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4107, allocations: 11.61 kB / 0.5128 GB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4107, allocations: 8.594 kB / 0.5128 GB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4107, allocations: 15.44 kB / 0.5128 GB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.4109, allocations: 84.22 kB / 0.5129 GB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.411, allocations: 19.48 kB / 0.5129 GB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.4111, allocations: 30.41 kB / 0.513 GB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4111, allocations: 21.92 kB / 0.513 GB, free: 7.844 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 7.828e-05/0.4112, allocations: 146.3 kB / 0.5131 GB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.4116, allocations: 287.7 kB / 0.5134 GB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.4116, allocations: 36.11 kB / 0.5134 GB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4117, allocations: 7.812 kB / 0.5134 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4117, allocations: 3.844 kB / 0.5134 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4117, allocations: 0 / 0.5134 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.4118, allocations: 252.8 kB / 0.5137 GB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4118, allocations: 0 / 0.5137 GB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.4121, allocations: 65.97 kB / 0.5137 GB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4121, allocations: 0 / 0.5137 GB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.4121, allocations: 11.2 kB / 0.5138 GB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4121, allocations: 3.844 kB / 0.5138 GB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4121, allocations: 0 / 0.5138 GB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.4125, allocations: 448 kB / 0.5142 GB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.4126, allocations: 130.9 kB / 0.5143 GB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.4127, allocations: 18.92 kB / 0.5143 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.4128, allocations: 19.02 kB / 0.5143 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.4129, allocations: 11.86 kB / 0.5144 GB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.4129, allocations: 11.59 kB / 0.5144 GB, free: 6.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.18e-05/0.4129, allocations: 127.5 kB / 0.5145 GB, free: 6.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.413, allocations: 3.938 kB / 0.5145 GB, free: 6.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.4133, allocations: 47.59 kB / 0.5145 GB, free: 6.891 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: 7 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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 9.223e-05/0.4134, allocations: 104.5 kB / 0.5146 GB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.4137, allocations: 273.2 kB / 0.5149 GB, free: 6.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4137, allocations: 5.938 kB / 0.5149 GB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.549e-05/0.4137, allocations: 7.375 kB / 0.5149 GB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.4142, allocations: 191.9 kB / 0.5151 GB, free: 6.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.4149, allocations: 398 kB / 0.5155 GB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.4151, allocations: 0.7809 MB / 0.5162 GB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.213e-05/0.4152, allocations: 29.56 kB / 0.5163 GB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.4153, allocations: 22.84 kB / 0.5163 GB, free: 5.758 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4153, allocations: 0 / 0.5163 GB, free: 5.758 MB / 330.7 MB Notification: Performance of Templates: time 0.004513/0.4198, allocations: 2.308 MB / 0.5185 GB, free: 4.656 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches