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.0009804/0.0009802, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.00126/0.00126, allocations: 181.8 kB / 17.56 MB, free: 6.203 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.521/1.521, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 4.188 kB / 301.4 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 50.41 MB / 351.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002165/0.1389, allocations: 1.459 MB / 353.3 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1401, allocations: 0.5845 MB / 353.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1402, allocations: 11.88 kB / 353.9 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1404, allocations: 11.92 kB / 353.9 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1406, allocations: 35.83 kB / 353.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.141, allocations: 111.8 kB / 354 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1413, allocations: 147.6 kB / 354.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1414, allocations: 37.42 kB / 354.2 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1415, allocations: 55.83 kB / 354.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.1418, allocations: 103.6 kB / 354.4 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.1418, allocations: 4 kB / 354.4 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.301e-05/0.1419, allocations: 8 kB / 354.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.142, allocations: 51.83 kB / 354.4 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1421, allocations: 117.1 kB / 354.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1423, allocations: 191.5 kB / 354.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1423, allocations: 4 kB / 354.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1423, allocations: 0 / 354.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1424, allocations: 0 / 354.8 MB, free: 0.7617 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.000763/0.1431, allocations: 486.6 kB / 355.2 MB, free: 244 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1432, allocations: 8.031 kB / 355.2 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.1432, allocations: 28.64 kB / 355.3 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1435, allocations: 243.8 kB / 355.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.1435, allocations: 20.33 kB / 355.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.1436, allocations: 16.38 kB / 355.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.1447, allocations: 0.6304 MB / 356.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1447, allocations: 0 / 356.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.1447, allocations: 11.94 kB / 356.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.1448, allocations: 8 kB / 356.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.1452, allocations: 191.8 kB / 356.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.1456, allocations: 374.2 kB / 356.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.1461, allocations: 254.8 kB / 357 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.1464, allocations: 170.6 kB / 357.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1465, allocations: 4 kB / 357.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1465, allocations: 42.55 kB / 357.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.844e-06/0.1465, allocations: 0 / 357.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008582/0.1474, allocations: 422.5 kB / 357.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.1475, allocations: 135.1 kB / 357.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1476, allocations: 170.4 kB / 357.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1477, allocations: 33.7 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.1477, allocations: 105 kB / 358 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.1478, allocations: 47.53 kB / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.1478, allocations: 37.7 kB / 358.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.148, allocations: 342.9 kB / 358.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1481, allocations: 72.83 kB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.1484, allocations: 322.7 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.1489, allocations: 424.9 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1489, allocations: 4 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005986/0.1495, allocations: 405.1 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1495, allocations: 15.92 kB / 359.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1496, allocations: 15.94 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1496, allocations: 12 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.1498, allocations: 79.84 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.1499, allocations: 16.5 kB / 359.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.15, allocations: 43.77 kB / 359.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.1501, allocations: 20 kB / 359.9 MB, free: 11.13 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.0001905/0.1503, allocations: 191.2 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004927/0.1508, allocations: 298.2 kB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.1509, allocations: 34.64 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1509, allocations: 4 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1509, allocations: 4 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1509, allocations: 4 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.1511, allocations: 249.3 kB / 360.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1511, allocations: 0 / 360.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.1514, allocations: 59.91 kB / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1514, allocations: 4 kB / 360.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.1515, allocations: 11.98 kB / 360.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1515, allocations: 4 kB / 360.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1515, allocations: 0 / 360.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.1521, allocations: 447.6 kB / 361.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1522, allocations: 128.7 kB / 361.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.1523, allocations: 16 kB / 361.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1524, allocations: 15.98 kB / 361.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1525, allocations: 0 / 361.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1525, allocations: 19.98 kB / 361.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1526, allocations: 127.5 kB / 361.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1526, allocations: 0 / 361.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.153, allocations: 52 kB / 361.5 MB, free: 9.391 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.0001378/0.1531, allocations: 115.2 kB / 361.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.1537, allocations: 293.8 kB / 361.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1537, allocations: 0 / 361.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.1537, allocations: 15.98 kB / 361.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.1544, allocations: 215.9 kB / 362.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1557, allocations: 0.6338 MB / 362.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1561, allocations: 0.7842 MB / 363.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.938e-05/0.1562, allocations: 26.28 kB / 363.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.1562, allocations: 23.44 kB / 363.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1563, allocations: 3.938 kB / 363.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of Templates: time 0.005582/0.1618, allocations: 2.391 MB / 366 MB, free: 4.84 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches