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.0009726/0.0009727, allocations: 95 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 202.6 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 9.457 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002602, allocations: 8 kB / 308.4 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 51.52 MB / 359.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002492/0.1339, allocations: 1.477 MB / 361.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1354, allocations: 0.6584 MB / 362 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1356, allocations: 7.938 kB / 362.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1358, allocations: 11.92 kB / 362.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1361, allocations: 31.83 kB / 362.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.1367, allocations: 119.8 kB / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.1369, allocations: 151.5 kB / 362.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.1371, allocations: 33.52 kB / 362.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.1373, allocations: 63.7 kB / 362.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.1376, allocations: 95.64 kB / 362.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.1376, allocations: 12 kB / 362.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.1377, allocations: 8 kB / 362.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.1378, allocations: 55.81 kB / 362.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1379, allocations: 117.2 kB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1382, allocations: 151.8 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1382, allocations: 0 / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1382, allocations: 0 / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1382, allocations: 4 kB / 362.9 MB, free: 10.03 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.0009338/0.1392, allocations: 482.7 kB / 363.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1392, allocations: 8.031 kB / 363.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1395, allocations: 36.64 kB / 363.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1398, allocations: 251.8 kB / 363.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.1398, allocations: 12.38 kB / 363.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.1399, allocations: 20.38 kB / 363.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1411, allocations: 0.634 MB / 364.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1411, allocations: 0 / 364.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1411, allocations: 11.98 kB / 364.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.1412, allocations: 12 kB / 364.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.1416, allocations: 191.8 kB / 364.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.1421, allocations: 374.2 kB / 364.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.1426, allocations: 259.1 kB / 365.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.1428, allocations: 154.6 kB / 365.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.1429, allocations: 15.98 kB / 365.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1429, allocations: 38.5 kB / 365.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.1429, allocations: 0 / 365.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.000886/0.1438, allocations: 421.7 kB / 365.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.144, allocations: 139 kB / 365.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1442, allocations: 182.6 kB / 366.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1442, allocations: 29.7 kB / 366.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.1443, allocations: 105.1 kB / 366.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.1443, allocations: 43.53 kB / 366.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.1444, allocations: 45.7 kB / 366.3 MB, free: 6.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1445, allocations: 330.8 kB / 366.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1447, allocations: 84.77 kB / 366.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.145, allocations: 330.6 kB / 367 MB, free: 5.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.1456, allocations: 420.9 kB / 367.4 MB, free: 4.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.1456, allocations: 4 kB / 367.4 MB, free: 4.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006396/0.1462, allocations: 413.5 kB / 367.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.1463, allocations: 12 kB / 367.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1463, allocations: 8 kB / 367.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.1463, allocations: 12 kB / 367.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1466, allocations: 75.84 kB / 367.9 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.1466, allocations: 19.92 kB / 368 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.1468, allocations: 35.75 kB / 368 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.1468, allocations: 24 kB / 368 MB, free: 4.363 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.0002016/0.147, allocations: 182.5 kB / 368.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/0.1476, allocations: 294.5 kB / 368.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.455e-05/0.1477, allocations: 38.64 kB / 368.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1477, allocations: 4 kB / 368.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1477, allocations: 4 kB / 368.5 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1477, allocations: 3.984 kB / 368.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.148, allocations: 241.3 kB / 368.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.148, allocations: 0 / 368.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.1482, allocations: 71.89 kB / 368.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1483, allocations: 4 kB / 368.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1483, allocations: 8 kB / 368.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1483, allocations: 80 / 368.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/0.1483, allocations: 7.984 kB / 368.9 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.1489, allocations: 455.8 kB / 369.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1491, allocations: 128.8 kB / 369.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.1491, allocations: 19.98 kB / 369.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1493, allocations: 15.98 kB / 369.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1493, allocations: 4 kB / 369.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1493, allocations: 11.98 kB / 369.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1495, allocations: 131.2 kB / 369.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1495, allocations: 0 / 369.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000391/0.1499, allocations: 55.91 kB / 369.7 MB, free: 2.613 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.0001544/0.15, allocations: 111.9 kB / 369.8 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.1506, allocations: 300.9 kB / 370.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1506, allocations: 0 / 370.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.1506, allocations: 11.94 kB / 370.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.1514, allocations: 220.7 kB / 370.3 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1528, allocations: 0.6667 MB / 371 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.1534, allocations: 0.7725 MB / 371.7 MB, free: 492 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.1535, allocations: 31.42 kB / 371.8 MB, free: 460 kB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1535, allocations: 0 / 371.8 MB, free: 460 kB / 302.1 MB Notification: Performance of Templates: time 0.1695/0.323, allocations: 2.91 MB / 374.7 MB, free: 17.96 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