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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001822/0.001822, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002168/0.002168, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1017, allocations: 53.32 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002923/0.1046, allocations: 1.774 MB / 428.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1059, allocations: 0.6856 MB / 429.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.106, allocations: 7.938 kB / 429.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1062, allocations: 19.8 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.1064, allocations: 51.7 kB / 429.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.1068, allocations: 126.5 kB / 429.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1071, allocations: 163.6 kB / 429.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1072, allocations: 25.5 kB / 429.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1073, allocations: 71.8 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.1076, allocations: 115.6 kB / 429.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.1076, allocations: 12 kB / 429.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.1076, allocations: 16 kB / 429.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.1077, allocations: 67.81 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.1078, allocations: 95.45 kB / 429.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1081, allocations: 215 kB / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1081, allocations: 0 / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1081, allocations: 0 / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1081, allocations: 0 / 430.1 MB, free: 1.531 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.0008373/0.109, allocations: 0.514 MB / 430.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.109, allocations: 8.031 kB / 430.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.1091, allocations: 54.73 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.1092, allocations: 36.73 kB / 430.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1095, allocations: 267.8 kB / 431 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.1096, allocations: 12.38 kB / 431 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1096, allocations: 12.38 kB / 431 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.1107, allocations: 0.6379 MB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1107, allocations: 0 / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1107, allocations: 8 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.1107, allocations: 23.98 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.1111, allocations: 183.8 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.1116, allocations: 366.3 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.112, allocations: 219.7 kB / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.1123, allocations: 142.5 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.1123, allocations: 7.984 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.1123, allocations: 50.59 kB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.343e-06/0.1123, allocations: 0 / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008282/0.1132, allocations: 425.8 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.1133, allocations: 131.1 kB / 433.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1134, allocations: 170.4 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1135, allocations: 37.64 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.1135, allocations: 101.1 kB / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.1136, allocations: 51.8 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.1137, allocations: 74.14 kB / 433.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1138, allocations: 334.8 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.114, allocations: 80.81 kB / 434 MB, free: 13.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.1143, allocations: 322.7 kB / 434.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.1147, allocations: 417 kB / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1148, allocations: 0 / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005741/0.1153, allocations: 409.5 kB / 435.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1153, allocations: 10.03 kB / 435.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1154, allocations: 8 kB / 435.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.1154, allocations: 12 kB / 435.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.1156, allocations: 91.83 kB / 435.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.1156, allocations: 15.92 kB / 435.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1158, allocations: 31.84 kB / 435.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1158, allocations: 24.34 kB / 435.3 MB, free: 11.8 MB / 366.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.0001829/0.116, allocations: 193.4 kB / 435.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/0.1165, allocations: 298.4 kB / 435.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.1166, allocations: 30.66 kB / 435.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1166, allocations: 4 kB / 435.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1166, allocations: 0 / 435.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1166, allocations: 7.984 kB / 435.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1168, allocations: 249.3 kB / 436.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1168, allocations: 0 / 436.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.1171, allocations: 67.89 kB / 436.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1171, allocations: 0 / 436.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.1171, allocations: 8 kB / 436.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1171, allocations: 7.922 kB / 436.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1171, allocations: 4 kB / 436.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.1177, allocations: 439.8 kB / 436.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.1178, allocations: 132.9 kB / 436.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.1179, allocations: 19.98 kB / 436.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.118, allocations: 11.98 kB / 436.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.118, allocations: 4 kB / 436.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1181, allocations: 12 kB / 436.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.1182, allocations: 128.3 kB / 436.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1182, allocations: 7.938 kB / 436.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.1185, allocations: 51.94 kB / 436.9 MB, free: 10.05 MB / 366.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.001233/0.1198, allocations: 1.184 MB / 438.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004917/0.1203, allocations: 289.4 kB / 438.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1203, allocations: 0 / 438.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.1203, allocations: 8.5 kB / 438.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.1209, allocations: 207.6 kB / 438.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.1245, allocations: 2.957 MB / 441.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1249, allocations: 0.78 MB / 442.4 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.411e-05/0.1249, allocations: 26.28 kB / 442.4 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.125, allocations: 67.42 kB / 442.4 MB, free: 4.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.125, allocations: 0 / 442.4 MB, free: 4.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2181/0.3431, allocations: 5.165 MB / 447.6 MB, free: 24.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.203, allocations: 10.44 kB / 447.6 MB, free: 24.56 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.523689275141805]