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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 115.9 kB / 18.4 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 185.3 kB / 21.35 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] 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=5018,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=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 51.92 kB / 358.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 49.43 MB / 408.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003456/0.1068, allocations: 1.746 MB / 409.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1082, allocations: 0.6116 MB / 410.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1083, allocations: 7.938 kB / 410.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.1086, allocations: 19.8 kB / 410.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.1088, allocations: 43.7 kB / 410.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1093, allocations: 119.7 kB / 410.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1095, allocations: 159.6 kB / 410.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1097, allocations: 33.53 kB / 410.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1099, allocations: 75.69 kB / 410.9 MB, free: 4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1101, allocations: 103.6 kB / 411 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.1102, allocations: 16 kB / 411 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.07e-05/0.1102, allocations: 12 kB / 411 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1103, allocations: 67.8 kB / 411.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1104, allocations: 87.47 kB / 411.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1107, allocations: 215.1 kB / 411.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1107, allocations: 0 / 411.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1107, allocations: 0 / 411.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1108, allocations: 0 / 411.4 MB, free: 3.508 MB / 334.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.0009135/0.1117, allocations: 0.51 MB / 411.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1117, allocations: 15.89 kB / 411.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.1118, allocations: 28.8 kB / 412 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.1121, allocations: 259.9 kB / 412.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.1122, allocations: 24.25 kB / 412.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1122, allocations: 12.38 kB / 412.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.1134, allocations: 0.6303 MB / 412.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1134, allocations: 0 / 412.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1134, allocations: 4 kB / 412.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.1134, allocations: 19.98 kB / 412.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.1139, allocations: 183.8 kB / 413.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.1144, allocations: 370.3 kB / 413.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.1149, allocations: 239.7 kB / 413.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.1152, allocations: 163 kB / 413.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.1152, allocations: 11.98 kB / 413.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1153, allocations: 38.56 kB / 413.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.894e-06/0.1153, allocations: 0 / 413.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008956/0.1162, allocations: 413.5 kB / 414.3 MB, free: 412 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.1163, allocations: 143.9 kB / 414.4 MB, free: 244 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1165, allocations: 170.4 kB / 414.6 MB, free: 64 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.1165, allocations: 33.7 kB / 414.6 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.1166, allocations: 105.1 kB / 414.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.1167, allocations: 47.86 kB / 414.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.1168, allocations: 70.14 kB / 414.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1169, allocations: 334.8 kB / 415.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1171, allocations: 84.81 kB / 415.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.1174, allocations: 322.7 kB / 415.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.1179, allocations: 412.9 kB / 416 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.1179, allocations: 4 kB / 416 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006276/0.1186, allocations: 405.6 kB / 416.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1186, allocations: 8.188 kB / 416.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.1186, allocations: 19.98 kB / 416.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.1186, allocations: 11.94 kB / 416.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.1189, allocations: 83.84 kB / 416.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.1189, allocations: 19.92 kB / 416.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1191, allocations: 23.89 kB / 416.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.1191, allocations: 24 kB / 416.6 MB, free: 13.82 MB / 350.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.0002133/0.1194, allocations: 190.2 kB / 416.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/0.1199, allocations: 301.3 kB / 417 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.187e-05/0.12, allocations: 34.66 kB / 417.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/0.12, allocations: 8 kB / 417.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.12, allocations: 0 / 417.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.12, allocations: 3.984 kB / 417.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.1203, allocations: 253.3 kB / 417.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1203, allocations: 0 / 417.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.1206, allocations: 63.89 kB / 417.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1206, allocations: 7.938 kB / 417.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1206, allocations: 4 kB / 417.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1207, allocations: 8 kB / 417.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1207, allocations: 0 / 417.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.1213, allocations: 443.8 kB / 417.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1215, allocations: 132.9 kB / 418 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.1216, allocations: 19.98 kB / 418 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.1217, allocations: 16 kB / 418 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1218, allocations: 3.984 kB / 418 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.1218, allocations: 12 kB / 418 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1219, allocations: 132.5 kB / 418.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1219, allocations: 0 / 418.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.1223, allocations: 48 kB / 418.2 MB, free: 12.07 MB / 350.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.000162/0.1225, allocations: 114.5 kB / 418.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005572/0.123, allocations: 297.3 kB / 418.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1231, allocations: 0 / 418.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.1231, allocations: 4.562 kB / 418.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.1238, allocations: 223.5 kB / 418.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1252, allocations: 0.5861 MB / 419.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.1256, allocations: 0.7838 MB / 420.2 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.1257, allocations: 27.42 kB / 420.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1257, allocations: 0 / 420.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Templates: time 0.005625/0.1313, allocations: 2.98 MB / 423.2 MB, free: 7.016 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.662931316997856]