Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 164.6 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 55.86 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09594, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003294/0.09924, allocations: 1.74 MB / 380.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1005, allocations: 0.6505 MB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1006, allocations: 3.938 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.1008, allocations: 19.8 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.101, allocations: 43.72 kB / 381.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.1015, allocations: 143.6 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.1018, allocations: 159.6 kB / 381.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1019, allocations: 25.73 kB / 381.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1021, allocations: 79.69 kB / 381.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1023, allocations: 107.6 kB / 381.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.1023, allocations: 12 kB / 381.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.1024, allocations: 16 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.787e-05/0.1025, allocations: 67.81 kB / 382 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.1026, allocations: 67.59 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.1029, allocations: 219.1 kB / 382.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1029, allocations: 0 / 382.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1029, allocations: 3.938 kB / 382.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1029, allocations: 0 / 382.3 MB, free: 12.3 MB / 350.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.0008753/0.1038, allocations: 441.3 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1038, allocations: 8.031 kB / 382.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.104, allocations: 48.67 kB / 382.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1043, allocations: 202.1 kB / 382.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.1044, allocations: 12.38 kB / 383 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1044, allocations: 16.38 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1055, allocations: 0.6354 MB / 383.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1055, allocations: 0 / 383.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1056, allocations: 8 kB / 383.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.1056, allocations: 12 kB / 383.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.106, allocations: 183.8 kB / 383.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.1064, allocations: 274.1 kB / 384.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.1069, allocations: 231.5 kB / 384.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.1071, allocations: 146.6 kB / 384.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.1072, allocations: 8 kB / 384.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1072, allocations: 38.56 kB / 384.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.024e-06/0.1072, allocations: 0 / 384.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008911/0.1081, allocations: 421.8 kB / 384.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.1082, allocations: 142.6 kB / 385 MB, free: 9.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1084, allocations: 179 kB / 385.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1084, allocations: 29.7 kB / 385.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.1085, allocations: 97.14 kB / 385.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.1085, allocations: 52 kB / 385.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.1086, allocations: 82.12 kB / 385.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1088, allocations: 334.8 kB / 385.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.109, allocations: 76.95 kB / 385.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.1093, allocations: 319.4 kB / 386.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.1098, allocations: 417 kB / 386.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1098, allocations: 0 / 386.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000628/0.1105, allocations: 413.2 kB / 387 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1105, allocations: 8 kB / 387 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1105, allocations: 8 kB / 387 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.1105, allocations: 12 kB / 387 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1108, allocations: 87.77 kB / 387.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.1108, allocations: 16.47 kB / 387.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1109, allocations: 39.77 kB / 387.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.111, allocations: 28 kB / 387.2 MB, free: 6.898 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.0001867/0.1112, allocations: 179.4 kB / 387.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/0.1117, allocations: 294.7 kB / 387.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.1118, allocations: 38.62 kB / 387.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1118, allocations: 4 kB / 387.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1118, allocations: 0 / 387.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1118, allocations: 4 kB / 387.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.112, allocations: 157.1 kB / 387.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.112, allocations: 7.938 kB / 387.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.1123, allocations: 63.89 kB / 387.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.1123, allocations: 4 kB / 387.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.1123, allocations: 4 kB / 387.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.1123, allocations: 4 kB / 387.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1123, allocations: 0 / 387.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.113, allocations: 443.9 kB / 388.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1131, allocations: 63.62 kB / 388.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.1131, allocations: 19.94 kB / 388.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1133, allocations: 11.98 kB / 388.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1133, allocations: 8 kB / 388.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.1134, allocations: 19.92 kB / 388.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1135, allocations: 127.2 kB / 388.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1135, allocations: 0 / 388.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.1139, allocations: 48 kB / 388.7 MB, free: 5.359 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.0001501/0.114, allocations: 111.2 kB / 388.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005238/0.1145, allocations: 285.7 kB / 389 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1145, allocations: 4 kB / 389 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.1146, allocations: 4 kB / 389.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.1153, allocations: 219.2 kB / 389.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1166, allocations: 0.5499 MB / 389.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.1168, allocations: 169.8 kB / 390 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.716e-05/0.1168, allocations: 22.3 kB / 390 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.1169, allocations: 32.48 kB / 390 MB, free: 3.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1169, allocations: 0 / 390 MB, free: 3.922 MB / 350.1 MB Notification: Performance of Templates: time 0.006969/0.1239, allocations: 2.834 MB / 392.9 MB, free: 1.117 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.343981091980822]