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.001045/0.001045, allocations: 96.78 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.00144, allocations: 192.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002477, allocations: 8 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1159, allocations: 51.53 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.001982/0.118, allocations: 1.445 MB / 360.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1191, allocations: 0.655 MB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1192, allocations: 15.81 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1194, allocations: 7.922 kB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1197, allocations: 43.78 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1201, allocations: 115.7 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1202, allocations: 135.6 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1204, allocations: 25.53 kB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1205, allocations: 71.7 kB / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1207, allocations: 91.7 kB / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1208, allocations: 4 kB / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.713e-05/0.1208, allocations: 8 kB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.1209, allocations: 59.81 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.121, allocations: 57.58 kB / 361.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1211, allocations: 144 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1211, allocations: 4 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1212, allocations: 0 / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1212, allocations: 0 / 361.5 MB, free: 10.52 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.000698/0.1219, allocations: 486.4 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1219, allocations: 8.031 kB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.1221, allocations: 35.7 kB / 362 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1223, allocations: 250.5 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.1224, allocations: 16 kB / 362.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.1224, allocations: 16 kB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1234, allocations: 0.6337 MB / 362.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1235, allocations: 0 / 362.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1235, allocations: 11.92 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.1235, allocations: 12 kB / 362.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.1239, allocations: 187.8 kB / 363.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.1243, allocations: 370.2 kB / 363.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.1247, allocations: 250.8 kB / 363.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.125, allocations: 162.6 kB / 363.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.125, allocations: 7.938 kB / 363.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.125, allocations: 38.56 kB / 363.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.343e-06/0.125, allocations: 0 / 363.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007911/0.1258, allocations: 425.9 kB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.126, allocations: 138.7 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1261, allocations: 174.6 kB / 364.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1262, allocations: 33.7 kB / 364.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1262, allocations: 101.1 kB / 364.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1263, allocations: 43.62 kB / 364.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.1263, allocations: 8 kB / 364.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1264, allocations: 334.8 kB / 365.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1265, allocations: 84.84 kB / 365.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1268, allocations: 330.6 kB / 365.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.127, allocations: 135.8 kB / 365.7 MB, free: 5.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.127, allocations: 0 / 365.7 MB, free: 5.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005508/0.1276, allocations: 409.6 kB / 366.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1276, allocations: 8 kB / 366.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1276, allocations: 8 kB / 366.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.1276, allocations: 12 kB / 366.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.1279, allocations: 83.84 kB / 366.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.1279, allocations: 19.92 kB / 366.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1281, allocations: 39.69 kB / 366.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1281, allocations: 20 kB / 366.3 MB, free: 5.316 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 (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.0001783/0.1283, allocations: 186.4 kB / 366.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/0.1287, allocations: 290.5 kB / 366.8 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.719e-05/0.1288, allocations: 34.64 kB / 366.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.1289, allocations: 8 kB / 366.8 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1289, allocations: 0 / 366.8 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1289, allocations: 0 / 366.8 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.1291, allocations: 253.3 kB / 367.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1291, allocations: 0 / 367.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.1294, allocations: 59.91 kB / 367.1 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1294, allocations: 11.98 kB / 367.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.1294, allocations: 15.98 kB / 367.1 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1294, allocations: 0 / 367.1 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1294, allocations: 4 kB / 367.1 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.13, allocations: 448 kB / 367.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1301, allocations: 132.7 kB / 367.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.1301, allocations: 16 kB / 367.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1303, allocations: 15.98 kB / 367.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.1303, allocations: 0 / 367.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1303, allocations: 15.98 kB / 367.8 MB, free: 3.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.182e-05/0.1304, allocations: 124.3 kB / 367.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1304, allocations: 0 / 367.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1308, allocations: 51.98 kB / 367.9 MB, free: 3.582 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 (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.0001212/0.1309, allocations: 117.4 kB / 368 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004688/0.1314, allocations: 297.3 kB / 368.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1314, allocations: 4 kB / 368.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.1314, allocations: 8 kB / 368.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.132, allocations: 207.8 kB / 368.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1332, allocations: 0.6186 MB / 369.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1335, allocations: 0.7841 MB / 370 MB, free: 1.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.1336, allocations: 22.3 kB / 370 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.1337, allocations: 27.42 kB / 370 MB, free: 1.453 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1337, allocations: 0 / 370 MB, free: 1.453 MB / 302.1 MB Notification: Performance of Templates: time 0.1987/0.3324, allocations: 2.281 MB / 372.3 MB, free: 18.55 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