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.001652/0.00166, allocations: 115.8 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 63.41 kB / 306.4 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1314, allocations: 50.54 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003815/0.1352, allocations: 1.811 MB / 358.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1369, allocations: 0.6661 MB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.1372, allocations: 7.938 kB / 359.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1375, allocations: 11.86 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.1378, allocations: 39.84 kB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.1385, allocations: 127.2 kB / 359.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.1388, allocations: 159.6 kB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.139, allocations: 33.52 kB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.1393, allocations: 75.7 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.1396, allocations: 111.6 kB / 360 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.1397, allocations: 12 kB / 360 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1398, allocations: 20 kB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.1399, allocations: 63.81 kB / 360.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.14, allocations: 91.45 kB / 360.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.1405, allocations: 219.5 kB / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1405, allocations: 0 / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1405, allocations: 0 / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1406, allocations: 0 / 360.4 MB, free: 10.75 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.001056/0.1416, allocations: 0.5141 MB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1417, allocations: 12.03 kB / 360.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.1419, allocations: 28.66 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.1423, allocations: 243.8 kB / 361.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.1424, allocations: 16.38 kB / 361.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1424, allocations: 16.38 kB / 361.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.1439, allocations: 0.6379 MB / 361.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.144, allocations: 3.984 kB / 361.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.144, allocations: 8 kB / 361.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.144, allocations: 12 kB / 361.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1444, allocations: 187.8 kB / 362.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.1451, allocations: 366.2 kB / 362.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.1456, allocations: 251.5 kB / 362.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.1459, allocations: 162.6 kB / 362.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.859e-05/0.146, allocations: 8.141 kB / 362.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.146, allocations: 42.56 kB / 362.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 3.035e-06/0.1461, allocations: 0 / 362.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.001224/0.1473, allocations: 417.6 kB / 363.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/0.1475, allocations: 134.7 kB / 363.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.1478, allocations: 178.6 kB / 363.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.1479, allocations: 37.64 kB / 363.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.148, allocations: 97.25 kB / 363.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.1481, allocations: 51.53 kB / 363.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1482, allocations: 74.05 kB / 363.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.1485, allocations: 334.8 kB / 364.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1487, allocations: 72.83 kB / 364.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.1492, allocations: 330.7 kB / 364.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/0.15, allocations: 416.9 kB / 365 MB, free: 5.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.15, allocations: 4 kB / 365 MB, free: 5.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009071/0.1509, allocations: 409.2 kB / 365.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.151, allocations: 12 kB / 365.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.151, allocations: 8 kB / 365.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/0.151, allocations: 12 kB / 365.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1514, allocations: 79.84 kB / 365.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.398e-05/0.1514, allocations: 19.92 kB / 365.5 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.1516, allocations: 28.25 kB / 365.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1517, allocations: 32 kB / 365.6 MB, free: 5.047 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.0003588/0.1521, allocations: 174.4 kB / 365.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006323/0.1527, allocations: 306.2 kB / 366 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1528, allocations: 34.64 kB / 366.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.1529, allocations: 7.938 kB / 366.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.1529, allocations: 0 / 366.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.1529, allocations: 3.984 kB / 366.1 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.1533, allocations: 241.3 kB / 366.3 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.1534, allocations: 8 kB / 366.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.1537, allocations: 59.91 kB / 366.4 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.1538, allocations: 7.984 kB / 366.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.1538, allocations: 8 kB / 366.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1538, allocations: 0 / 366.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1538, allocations: 4 kB / 366.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007418/0.1546, allocations: 443.5 kB / 366.8 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.1548, allocations: 140.7 kB / 367 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.1548, allocations: 16 kB / 367 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.155, allocations: 11.98 kB / 367 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.1551, allocations: 0 / 367 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.1551, allocations: 11.98 kB / 367 MB, free: 3.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1552, allocations: 131.2 kB / 367.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1552, allocations: 0 / 367.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.1557, allocations: 52 kB / 367.2 MB, free: 3.316 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.0002798/0.156, allocations: 115.7 kB / 367.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006535/0.1567, allocations: 341.4 kB / 367.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1567, allocations: 0 / 367.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.1567, allocations: 15.92 kB / 367.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.1574, allocations: 211.8 kB / 367.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1588, allocations: 0.6284 MB / 368.5 MB, free: 1.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.1592, allocations: 0.78 MB / 369.3 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.781e-05/0.1593, allocations: 26.28 kB / 369.3 MB, free: 1.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.1594, allocations: 23.44 kB / 369.3 MB, free: 1.137 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1594, allocations: 0 / 369.3 MB, free: 1.137 MB / 302.1 MB Notification: Performance of Templates: time 0.2245/0.3839, allocations: 2.575 MB / 371.9 MB, free: 18.89 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/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches