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.001294/0.001294, allocations: 120.7 kB / 17.79 MB, free: 5.137 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.001298/0.001298, allocations: 186.9 kB / 20.73 MB, free: 2.207 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.366/1.366, allocations: 225.6 MB / 249.1 MB, free: 3.609 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 51.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09545, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003099/0.09855, allocations: 1.754 MB / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.09974, allocations: 0.6232 MB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.09985, allocations: 3.938 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.1, allocations: 27.78 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1003, allocations: 35.72 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1007, allocations: 127.7 kB / 420.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1009, allocations: 151.6 kB / 420.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.101, allocations: 21.55 kB / 420.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1012, allocations: 75.69 kB / 420.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1014, allocations: 111.6 kB / 420.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.1015, allocations: 16 kB / 420.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.76e-05/0.1015, allocations: 12 kB / 420.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1016, allocations: 71.8 kB / 420.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1017, allocations: 91.39 kB / 420.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.102, allocations: 203.1 kB / 421.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.102, allocations: 0 / 421.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.102, allocations: 0 / 421.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.102, allocations: 4 kB / 421.1 MB, free: 9.273 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.0009613/0.103, allocations: 0.5101 MB / 421.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.103, allocations: 15.97 kB / 421.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/0.1031, allocations: 46.73 kB / 421.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.1032, allocations: 24.8 kB / 421.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.1035, allocations: 263.9 kB / 422 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.1036, allocations: 20.33 kB / 422 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.1036, allocations: 20.38 kB / 422 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1047, allocations: 0.6262 MB / 422.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1048, allocations: 3.938 kB / 422.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1048, allocations: 11.98 kB / 422.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.1048, allocations: 11.98 kB / 422.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.1052, allocations: 183.8 kB / 422.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.1057, allocations: 370.3 kB / 423.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.1062, allocations: 219.6 kB / 423.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.1065, allocations: 147.1 kB / 423.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.784e-05/0.1065, allocations: 11.98 kB / 423.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1066, allocations: 42.56 kB / 423.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.423e-06/0.1066, allocations: 0 / 423.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008897/0.1074, allocations: 425.4 kB / 424 MB, free: 6.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.1076, allocations: 139.6 kB / 424.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1077, allocations: 170.4 kB / 424.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.1078, allocations: 33.83 kB / 424.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.1078, allocations: 105.1 kB / 424.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.1079, allocations: 51.72 kB / 424.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/0.108, allocations: 70.14 kB / 424.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1082, allocations: 334.8 kB / 424.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1083, allocations: 80.81 kB / 425 MB, free: 5.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.1087, allocations: 318.7 kB / 425.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.1092, allocations: 409 kB / 425.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1092, allocations: 0 / 425.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006413/0.1099, allocations: 421.1 kB / 426.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1099, allocations: 8 kB / 426.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.1099, allocations: 8 kB / 426.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.1099, allocations: 12 kB / 426.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.1102, allocations: 79.84 kB / 426.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.409e-05/0.1102, allocations: 20.52 kB / 426.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1104, allocations: 39.83 kB / 426.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.1104, allocations: 24 kB / 426.3 MB, free: 3.551 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.0002087/0.1106, allocations: 186.8 kB / 426.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.1111, allocations: 293.4 kB / 426.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-05/0.1112, allocations: 34.66 kB / 426.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.1112, allocations: 4 kB / 426.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1112, allocations: 0 / 426.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.1112, allocations: 7.984 kB / 426.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.1115, allocations: 245.3 kB / 427 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1115, allocations: 4 kB / 427 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.1117, allocations: 63.89 kB / 427.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1117, allocations: 4 kB / 427.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1118, allocations: 8 kB / 427.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1118, allocations: 0 / 427.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1118, allocations: 7.938 kB / 427.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.1124, allocations: 447.8 kB / 427.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.1126, allocations: 136.8 kB / 427.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.1126, allocations: 23.92 kB / 427.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1127, allocations: 12 kB / 427.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1128, allocations: 3.984 kB / 427.7 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.1128, allocations: 8 kB / 427.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1129, allocations: 136.5 kB / 427.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1129, allocations: 4 kB / 427.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.1133, allocations: 48 kB / 427.9 MB, free: 1.809 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.001368/0.1147, allocations: 1.19 MB / 429.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.1152, allocations: 281.7 kB / 429.4 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1152, allocations: 192 / 429.4 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.1152, allocations: 11.98 kB / 429.4 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.1159, allocations: 195.8 kB / 429.6 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.1197, allocations: 2.957 MB / 432.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1201, allocations: 0.7722 MB / 433.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.1202, allocations: 30.28 kB / 433.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1203, allocations: 67.41 kB / 433.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1203, allocations: 4 kB / 433.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.1485, allocations: 5.145 MB / 438.6 MB, free: 6.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.212/9.361, allocations: 12.61 kB / 438.6 MB, free: 6.895 MB / 366.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] 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: 13.871583153028041]