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.001286/0.001286, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 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.001373/0.001373, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 51.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2892, allocations: 53.35 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003376/0.2926, allocations: 1.796 MB / 432.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2939, allocations: 0.6855 MB / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.294, allocations: 7.938 kB / 433.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2942, allocations: 27.8 kB / 433.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.2944, allocations: 35.72 kB / 433.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.2948, allocations: 135.7 kB / 433.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.2951, allocations: 167.5 kB / 434 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2952, allocations: 29.73 kB / 434 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.2954, allocations: 75.75 kB / 434.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.2956, allocations: 107.6 kB / 434.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.2957, allocations: 23.98 kB / 434.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.76e-05/0.2957, allocations: 19.94 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.2958, allocations: 59.83 kB / 434.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.2959, allocations: 91.39 kB / 434.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.2962, allocations: 219.5 kB / 434.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2962, allocations: 0 / 434.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2962, allocations: 3.938 kB / 434.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2962, allocations: 0 / 434.6 MB, free: 3.379 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.0009118/0.2971, allocations: 449.2 kB / 435 MB, free: 2.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2972, allocations: 11.97 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.707e-05/0.2972, allocations: 54.73 kB / 435.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.2974, allocations: 36.73 kB / 435.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.2977, allocations: 198.1 kB / 435.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.2978, allocations: 16.38 kB / 435.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.2978, allocations: 16.38 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2989, allocations: 0.6301 MB / 436 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2989, allocations: 8 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2989, allocations: 4 kB / 436 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.299, allocations: 15.98 kB / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.2994, allocations: 192.5 kB / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.2998, allocations: 329.4 kB / 436.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.3003, allocations: 230.7 kB / 436.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.3005, allocations: 150.5 kB / 436.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.3006, allocations: 12.12 kB / 436.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3006, allocations: 46.5 kB / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.3006, allocations: 0 / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008623/0.3015, allocations: 421.8 kB / 437.4 MB, free: 432 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.3016, allocations: 134.7 kB / 437.5 MB, free: 272 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3018, allocations: 171 kB / 437.7 MB, free: 92 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.3018, allocations: 37.7 kB / 437.7 MB, free: 48 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.3019, allocations: 101.2 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.3019, allocations: 51.67 kB / 437.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/0.302, allocations: 70.14 kB / 437.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3022, allocations: 338.8 kB / 438.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.3023, allocations: 76.81 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.3027, allocations: 322.7 kB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.3032, allocations: 413 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.3032, allocations: 4 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000641/0.3038, allocations: 405.3 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3038, allocations: 8 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3038, allocations: 12 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.3039, allocations: 12 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.3041, allocations: 83.77 kB / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.3041, allocations: 16.47 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.3043, allocations: 35.84 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.3043, allocations: 28 kB / 439.6 MB, free: 13.85 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.0001949/0.3045, allocations: 186.3 kB / 439.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/0.3051, allocations: 298.4 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.109e-05/0.3051, allocations: 42.53 kB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3052, allocations: 4 kB / 440.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3052, allocations: 0 / 440.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3052, allocations: 3.984 kB / 440.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.3054, allocations: 224.4 kB / 440.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3054, allocations: 4 kB / 440.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.3057, allocations: 63.83 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3057, allocations: 4 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.3057, allocations: 8 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3057, allocations: 0 / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3057, allocations: 4 kB / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.3063, allocations: 439.8 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3065, allocations: 59.75 kB / 441 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.3065, allocations: 19.98 kB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3067, allocations: 8 kB / 441 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.3067, allocations: 7.938 kB / 441 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.3067, allocations: 19.98 kB / 441 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3068, allocations: 127.2 kB / 441.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3068, allocations: 0 / 441.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.3072, allocations: 52 kB / 441.2 MB, free: 12.23 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.001328/0.3085, allocations: 1.174 MB / 442.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.3091, allocations: 282.5 kB / 442.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3091, allocations: 3.938 kB / 442.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.3091, allocations: 12.05 kB / 442.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.3098, allocations: 203.8 kB / 442.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.3137, allocations: 2.966 MB / 445.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3141, allocations: 0.776 MB / 446.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.622e-05/0.3141, allocations: 22.3 kB / 446.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.3143, allocations: 71.41 kB / 446.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3143, allocations: 3.938 kB / 446.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.3505, allocations: 5.602 MB / 452.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.62, allocations: 6.906 kB / 452.3 MB, free: 0.8984 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] 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: 14.221733081154525]