Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 8.848 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 60 kB / 306.9 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 50.54 MB / 357.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003953/0.1064, allocations: 1.819 MB / 359.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1078, allocations: 0.6778 MB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.108, allocations: 3.938 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.1083, allocations: 19.86 kB / 360 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1086, allocations: 27.84 kB / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.109, allocations: 119.1 kB / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1093, allocations: 151.6 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1094, allocations: 33.53 kB / 360.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1096, allocations: 67.75 kB / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1099, allocations: 107.6 kB / 360.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.1099, allocations: 8 kB / 360.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-05/0.11, allocations: 8 kB / 360.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.1101, allocations: 67.8 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.1103, allocations: 91.39 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1104, allocations: 148 kB / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1105, allocations: 0 / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1105, allocations: 0 / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1105, allocations: 0 / 360.8 MB, free: 10.86 MB / 302.1 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.0009345/0.1114, allocations: 0.5103 MB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1115, allocations: 12.03 kB / 361.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.1117, allocations: 32.64 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.112, allocations: 243.8 kB / 361.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.112, allocations: 12.38 kB / 361.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.112, allocations: 20.38 kB / 361.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1132, allocations: 0.6417 MB / 362.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1132, allocations: 3.938 kB / 362.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.1132, allocations: 4 kB / 362.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.1133, allocations: 19.98 kB / 362.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.1137, allocations: 179.8 kB / 362.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.1141, allocations: 374.2 kB / 362.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.1146, allocations: 251.6 kB / 363 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.1149, allocations: 154.6 kB / 363.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.1149, allocations: 12.14 kB / 363.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.115, allocations: 38.55 kB / 363.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.115, allocations: 0 / 363.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008578/0.1158, allocations: 421.7 kB / 363.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1159, allocations: 135 kB / 363.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1161, allocations: 178.6 kB / 364 MB, free: 7.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1161, allocations: 29.7 kB / 364 MB, free: 7.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.1162, allocations: 101.1 kB / 364.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.1163, allocations: 47.53 kB / 364.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.1164, allocations: 70.05 kB / 364.2 MB, free: 7.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1165, allocations: 342.8 kB / 364.5 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1166, allocations: 72.81 kB / 364.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.1169, allocations: 330.7 kB / 364.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.1174, allocations: 416.8 kB / 365.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1174, allocations: 4 kB / 365.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006106/0.1181, allocations: 401.6 kB / 365.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1181, allocations: 16.03 kB / 365.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1181, allocations: 8 kB / 365.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1181, allocations: 12 kB / 365.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.1184, allocations: 83.83 kB / 365.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.1184, allocations: 19.92 kB / 365.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1186, allocations: 27.84 kB / 365.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.1186, allocations: 24 kB / 365.9 MB, free: 5.168 MB / 302.1 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 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.1188, allocations: 186.3 kB / 366.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/0.1193, allocations: 302.2 kB / 366.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/0.1194, allocations: 34.66 kB / 366.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1194, allocations: 4 kB / 366.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1194, allocations: 7.922 kB / 366.5 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1194, allocations: 3.984 kB / 366.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1197, allocations: 241.3 kB / 366.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.1197, allocations: 7.984 kB / 366.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.12, allocations: 59.91 kB / 366.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.12, allocations: 4 kB / 366.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.12, allocations: 12 kB / 366.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.12, allocations: 7.984 kB / 366.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.12, allocations: 3.938 kB / 366.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.1206, allocations: 443.5 kB / 367.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.1208, allocations: 128.7 kB / 367.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.1208, allocations: 19.98 kB / 367.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.121, allocations: 15.98 kB / 367.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.121, allocations: 0 / 367.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.121, allocations: 12 kB / 367.4 MB, free: 3.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1212, allocations: 127.2 kB / 367.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1212, allocations: 0 / 367.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.1216, allocations: 52 kB / 367.6 MB, free: 3.426 MB / 302.1 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 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.1217, allocations: 113 kB / 367.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.1222, allocations: 297.1 kB / 368 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1222, allocations: 0.75 kB / 368 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.1223, allocations: 15.92 kB / 368 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.123, allocations: 211.8 kB / 368.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1243, allocations: 0.6586 MB / 368.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1247, allocations: 0.7842 MB / 369.6 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/0.1248, allocations: 27.44 kB / 369.7 MB, free: 1.27 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1248, allocations: 0 / 369.7 MB, free: 1.27 MB / 302.1 MB Notification: Performance of Templates: time 0.2056/0.3304, allocations: 2.941 MB / 372.6 MB, free: 19.4 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches