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.001393/0.001393, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.83 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003312/0.1109, allocations: 1.77 MB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1124, allocations: 0.6739 MB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1125, allocations: 3.938 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.1127, allocations: 19.8 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1129, allocations: 43.72 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1133, allocations: 135.6 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.1136, allocations: 163.5 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1137, allocations: 37.52 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1139, allocations: 79.75 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1141, allocations: 99.64 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.1142, allocations: 12 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.293e-05/0.1142, allocations: 23.94 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.1143, allocations: 63.8 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.1144, allocations: 91.47 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1147, allocations: 219.2 kB / 362.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1147, allocations: 3.938 kB / 362.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1147, allocations: 4 kB / 362.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1147, allocations: 0 / 362.3 MB, free: 9.922 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.0008153/0.1155, allocations: 0.5025 MB / 362.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1156, allocations: 8.031 kB / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.1158, allocations: 32.66 kB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.1161, allocations: 271.7 kB / 363.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.1162, allocations: 12.38 kB / 363.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1162, allocations: 20.38 kB / 363.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1173, allocations: 0.6301 MB / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1173, allocations: 0 / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.1174, allocations: 11.98 kB / 363.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.1174, allocations: 8 kB / 363.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.1178, allocations: 187.8 kB / 364 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.1183, allocations: 366.3 kB / 364.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.1188, allocations: 247.6 kB / 364.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.119, allocations: 162.6 kB / 364.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.1191, allocations: 7.938 kB / 364.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1191, allocations: 34.56 kB / 364.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.944e-06/0.1191, allocations: 4 kB / 364.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008269/0.1199, allocations: 413.8 kB / 365.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.1201, allocations: 150.8 kB / 365.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1202, allocations: 170.1 kB / 365.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1203, allocations: 37.64 kB / 365.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.1203, allocations: 97.14 kB / 365.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.1204, allocations: 47.53 kB / 365.7 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.1205, allocations: 77.97 kB / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1207, allocations: 338.8 kB / 366.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1208, allocations: 72.83 kB / 366.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1211, allocations: 326.7 kB / 366.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.1215, allocations: 412.9 kB / 366.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.1215, allocations: 8 kB / 366.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005708/0.1221, allocations: 401.6 kB / 367.3 MB, free: 4.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1221, allocations: 8 kB / 367.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1221, allocations: 11.98 kB / 367.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.1222, allocations: 20.03 kB / 367.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.1224, allocations: 87.78 kB / 367.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.1224, allocations: 12 kB / 367.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1226, allocations: 31.83 kB / 367.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.1226, allocations: 27.94 kB / 367.5 MB, free: 4.219 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.0001639/0.1228, allocations: 184 kB / 367.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/0.1232, allocations: 289.6 kB / 367.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.349e-05/0.1233, allocations: 42.64 kB / 368 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1234, allocations: 8 kB / 368 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1234, allocations: 0 / 368 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.1234, allocations: 0 / 368 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.1236, allocations: 249.2 kB / 368.2 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1236, allocations: 0 / 368.2 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.1239, allocations: 63.91 kB / 368.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1239, allocations: 4 kB / 368.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1239, allocations: 7.984 kB / 368.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1239, allocations: 4 kB / 368.3 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1239, allocations: 80 / 368.3 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.1245, allocations: 448.9 kB / 368.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.1247, allocations: 128.7 kB / 368.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.1248, allocations: 16 kB / 368.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1249, allocations: 19.98 kB / 368.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1249, allocations: 4 kB / 368.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.125, allocations: 15.92 kB / 368.9 MB, free: 2.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.927e-05/0.1251, allocations: 136.2 kB / 369.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1251, allocations: 0 / 369.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.1255, allocations: 48 kB / 369.1 MB, free: 2.484 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.0001347/0.1256, allocations: 119.2 kB / 369.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.1261, allocations: 297.6 kB / 369.5 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1261, allocations: 0 / 369.5 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.1262, allocations: 7.938 kB / 369.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.1268, allocations: 220.1 kB / 369.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.128, allocations: 0.5459 MB / 370.3 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1283, allocations: 0.7761 MB / 371.1 MB, free: 480 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.349e-05/0.1284, allocations: 30.28 kB / 371.1 MB, free: 452 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.1284, allocations: 23.44 kB / 371.1 MB, free: 432 kB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1284, allocations: 0 / 371.1 MB, free: 432 kB / 302.1 MB Notification: Performance of Templates: time 0.2005/0.3289, allocations: 2.601 MB / 373.7 MB, free: 19.51 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 -s gbode -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