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.001643/0.001643, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002067/0.002067, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 61.03 kB / 307.6 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09907, allocations: 50.53 MB / 358.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003606/0.1027, allocations: 1.769 MB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1041, allocations: 0.67 MB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1042, allocations: 11.94 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1044, allocations: 19.8 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1047, allocations: 43.7 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.1053, allocations: 131.7 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1055, allocations: 163.5 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1057, allocations: 33.53 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.1059, allocations: 71.77 kB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.1062, allocations: 107.6 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.1062, allocations: 12 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.1063, allocations: 16 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.1064, allocations: 67.81 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1065, allocations: 95.41 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.1068, allocations: 211.5 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1068, allocations: 0 / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1069, allocations: 0 / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1069, allocations: 0 / 361.6 MB, free: 10.67 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.0009845/0.1079, allocations: 0.5103 MB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1079, allocations: 8.031 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.1081, allocations: 40.64 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1084, allocations: 251.8 kB / 362.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.1084, allocations: 12.38 kB / 362.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1085, allocations: 16.38 kB / 362.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1096, allocations: 0.6303 MB / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1096, allocations: 7.922 kB / 363 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1097, allocations: 8 kB / 363 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.1097, allocations: 15.98 kB / 363 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.1101, allocations: 179.8 kB / 363.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.1106, allocations: 374.2 kB / 363.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.111, allocations: 255.5 kB / 363.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.1113, allocations: 158.6 kB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.1114, allocations: 4 kB / 364 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1114, allocations: 34.56 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.993e-06/0.1114, allocations: 0 / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008748/0.1123, allocations: 425.8 kB / 364.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.1124, allocations: 147 kB / 364.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1126, allocations: 170.1 kB / 364.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1126, allocations: 33.7 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.1127, allocations: 101.1 kB / 364.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.1127, allocations: 47.53 kB / 364.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1128, allocations: 74.03 kB / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.113, allocations: 338.8 kB / 365.3 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1131, allocations: 72.83 kB / 365.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.1134, allocations: 322.7 kB / 365.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.1138, allocations: 420.8 kB / 366.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.1138, allocations: 12 kB / 366.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005685/0.1144, allocations: 401.6 kB / 366.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1144, allocations: 8 kB / 366.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1145, allocations: 8 kB / 366.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.1145, allocations: 16.03 kB / 366.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.1147, allocations: 87.83 kB / 366.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.1148, allocations: 15.94 kB / 366.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1149, allocations: 31.83 kB / 366.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.115, allocations: 20 kB / 366.7 MB, free: 4.973 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.0001627/0.1151, allocations: 184 kB / 366.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/0.1156, allocations: 293.2 kB / 367.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/0.1157, allocations: 38.64 kB / 367.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1157, allocations: 4 kB / 367.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1157, allocations: 7.938 kB / 367.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1158, allocations: 0 / 367.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.116, allocations: 249.3 kB / 367.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.116, allocations: 0 / 367.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.1163, allocations: 63.91 kB / 367.5 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1163, allocations: 4 kB / 367.5 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.1163, allocations: 7.984 kB / 367.6 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.1163, allocations: 4 kB / 367.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1163, allocations: 0 / 367.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.117, allocations: 448.5 kB / 368 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1171, allocations: 132.7 kB / 368.1 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.1172, allocations: 16 kB / 368.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1173, allocations: 11.98 kB / 368.1 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.1174, allocations: 11.94 kB / 368.2 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.1174, allocations: 15.98 kB / 368.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1175, allocations: 128.3 kB / 368.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1175, allocations: 0 / 368.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.1179, allocations: 48 kB / 368.3 MB, free: 3.238 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.0001483/0.1181, allocations: 123.2 kB / 368.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005783/0.1187, allocations: 333.5 kB / 368.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1187, allocations: 0 / 368.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.1187, allocations: 8 kB / 368.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.1194, allocations: 215.4 kB / 369 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1207, allocations: 0.5903 MB / 369.6 MB, free: 1.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1211, allocations: 0.78 MB / 370.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.1211, allocations: 31.42 kB / 370.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1212, allocations: 0 / 370.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of Templates: time 0.1621/0.2832, allocations: 2.95 MB / 373.4 MB, free: 19.09 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