Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 94.11 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 182.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002393/0.0002394, allocations: 6.062 kB / 300.7 MB, free: 5.984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 50.43 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.001955/0.1149, allocations: 1.431 MB / 352.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1159, allocations: 0.577 MB / 353.2 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1161, allocations: 3.938 kB / 353.2 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1162, allocations: 15.92 kB / 353.2 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.1165, allocations: 31.89 kB / 353.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1169, allocations: 111.6 kB / 353.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.117, allocations: 87.83 kB / 353.4 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1172, allocations: 29.77 kB / 353.4 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1173, allocations: 55.77 kB / 353.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1175, allocations: 91.64 kB / 353.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.1175, allocations: 12 kB / 353.6 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.306e-05/0.1176, allocations: 4 kB / 353.6 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.1177, allocations: 59.81 kB / 353.6 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.1177, allocations: 57.62 kB / 353.7 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1179, allocations: 139.7 kB / 353.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1179, allocations: 0 / 353.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1179, allocations: 0 / 353.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1179, allocations: 0 / 353.8 MB, free: 9.012 MB / 286.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.0008236/0.1188, allocations: 486.5 kB / 354.3 MB, free: 8.488 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1188, allocations: 8.031 kB / 354.3 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.1189, allocations: 27.67 kB / 354.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1192, allocations: 238.7 kB / 354.6 MB, free: 8.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.1192, allocations: 15.94 kB / 354.6 MB, free: 8.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.1193, allocations: 19.98 kB / 354.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.1203, allocations: 0.6261 MB / 355.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1203, allocations: 3.953 kB / 355.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1203, allocations: 4 kB / 355.3 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.1204, allocations: 23.98 kB / 355.3 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.1208, allocations: 191.8 kB / 355.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.1212, allocations: 358.3 kB / 355.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.1216, allocations: 251.7 kB / 356.1 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.1217, allocations: 8.016 kB / 356.1 MB, free: 6.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1217, allocations: 38.56 kB / 356.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.1217, allocations: 4 kB / 356.1 MB, free: 6.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008251/0.1226, allocations: 418.5 kB / 356.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1227, allocations: 142.8 kB / 356.7 MB, free: 5.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1228, allocations: 170.4 kB / 356.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1229, allocations: 29.7 kB / 356.9 MB, free: 5.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.123, allocations: 105.2 kB / 357 MB, free: 5.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.123, allocations: 47.59 kB / 357 MB, free: 5.598 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.123, allocations: 4 kB / 357 MB, free: 5.594 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1232, allocations: 338.8 kB / 357.3 MB, free: 5.254 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1233, allocations: 68.83 kB / 357.4 MB, free: 5.188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.1236, allocations: 318.7 kB / 357.7 MB, free: 4.754 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1238, allocations: 143.8 kB / 357.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1238, allocations: 0 / 357.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005464/0.1244, allocations: 409 kB / 358.3 MB, free: 4.207 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1244, allocations: 11.95 kB / 358.3 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1244, allocations: 11.94 kB / 358.3 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1245, allocations: 12 kB / 358.3 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.1247, allocations: 84.5 kB / 358.4 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.1247, allocations: 23.92 kB / 358.4 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.1249, allocations: 31.78 kB / 358.4 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1249, allocations: 28 kB / 358.5 MB, free: 4.008 MB / 286.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 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.1251, allocations: 169.6 kB / 358.6 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.1256, allocations: 301.2 kB / 358.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.1256, allocations: 34.61 kB / 358.9 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1257, allocations: 4 kB / 359 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1257, allocations: 8 kB / 359 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1257, allocations: 3.984 kB / 359 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1259, allocations: 241.3 kB / 359.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1259, allocations: 0 / 359.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.1262, allocations: 67.89 kB / 359.3 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1262, allocations: 4 kB / 359.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1262, allocations: 7.938 kB / 359.3 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1262, allocations: 7.953 kB / 359.3 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1262, allocations: 0 / 359.3 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.1268, allocations: 468.4 kB / 359.7 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.127, allocations: 136.7 kB / 359.9 MB, free: 2.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.1271, allocations: 19.98 kB / 359.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1272, allocations: 12 kB / 359.9 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.1272, allocations: 7.984 kB / 359.9 MB, free: 2.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1273, allocations: 12 kB / 359.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.601e-05/0.1273, allocations: 127.2 kB / 360 MB, free: 2.289 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1274, allocations: 0 / 360 MB, free: 2.289 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000375/0.1277, allocations: 55.94 kB / 360.1 MB, free: 2.234 MB / 286.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 (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.0001716/0.1279, allocations: 121.4 kB / 360.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.1284, allocations: 289.8 kB / 360.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1284, allocations: 0 / 360.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.1285, allocations: 20 kB / 360.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.129, allocations: 211.7 kB / 360.7 MB, free: 1.598 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1303, allocations: 0.5987 MB / 361.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1306, allocations: 0.7881 MB / 362.1 MB, free: 156 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.384e-05/0.1307, allocations: 26.28 kB / 362.1 MB, free: 132 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.1308, allocations: 23.44 kB / 362.2 MB, free: 108 kB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1308, allocations: 0 / 362.2 MB, free: 108 kB / 286.1 MB Notification: Performance of Templates: time 0.005084/0.1359, allocations: 2.287 MB / 364.5 MB, free: 13.82 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches