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.001844/0.001844, allocations: 112.7 kB / 20.43 MB, free: 1.309 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.002078/0.002078, allocations: 205.9 kB / 23.74 MB, free: 4.543 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.001891/0.001891, allocations: 59.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2729, allocations: 53.41 MB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003412/0.2763, allocations: 1.798 MB / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2777, allocations: 0.6933 MB / 433.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2778, allocations: 11.88 kB / 433.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.278, allocations: 19.8 kB / 433.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.2782, allocations: 39.72 kB / 433.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.2787, allocations: 139.1 kB / 433.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.2789, allocations: 163.6 kB / 434 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2791, allocations: 21.73 kB / 434.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.2792, allocations: 79.69 kB / 434.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.2795, allocations: 111.6 kB / 434.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.2795, allocations: 16 kB / 434.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.2796, allocations: 12 kB / 434.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.2797, allocations: 71.75 kB / 434.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2798, allocations: 87.47 kB / 434.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.2801, allocations: 215.5 kB / 434.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2801, allocations: 4 kB / 434.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2801, allocations: 0 / 434.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.2801, allocations: 0 / 434.7 MB, free: 3.352 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.0008824/0.281, allocations: 457.1 kB / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.2811, allocations: 12.03 kB / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.2811, allocations: 50.73 kB / 435.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2813, allocations: 48.67 kB / 435.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.2816, allocations: 190.1 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.2816, allocations: 12.38 kB / 435.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.2817, allocations: 16.38 kB / 435.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.2828, allocations: 0.6262 MB / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2828, allocations: 0 / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2828, allocations: 11.98 kB / 436.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.2829, allocations: 19.92 kB / 436.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.2833, allocations: 187.8 kB / 436.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.2838, allocations: 341.3 kB / 436.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.2842, allocations: 231.5 kB / 436.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.2845, allocations: 139.4 kB / 437 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.2845, allocations: 11.98 kB / 437 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2846, allocations: 34.56 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.2846, allocations: 0 / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008733/0.2854, allocations: 437.9 kB / 437.4 MB, free: 400 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.2856, allocations: 130.8 kB / 437.6 MB, free: 244 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.2857, allocations: 170.4 kB / 437.7 MB, free: 64 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2858, allocations: 33.7 kB / 437.8 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.2858, allocations: 101.1 kB / 437.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.2859, allocations: 51.67 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.286, allocations: 70.14 kB / 438 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2862, allocations: 338.9 kB / 438.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2863, allocations: 80.81 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.2867, allocations: 322.7 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.2872, allocations: 416.9 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2872, allocations: 4 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000618/0.2878, allocations: 401.8 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2878, allocations: 12.06 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2878, allocations: 11.98 kB / 439.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.2879, allocations: 12 kB / 439.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.2881, allocations: 83.84 kB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.2881, allocations: 19.92 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2883, allocations: 27.84 kB / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.2883, allocations: 24 kB / 439.7 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.0002021/0.2885, allocations: 194 kB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000521/0.289, allocations: 293.4 kB / 440.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.968e-05/0.2891, allocations: 30.66 kB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2891, allocations: 7.938 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2891, allocations: 4 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2891, allocations: 3.984 kB / 440.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.2894, allocations: 220.4 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2894, allocations: 3.938 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.2897, allocations: 63.89 kB / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.2897, allocations: 4 kB / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2897, allocations: 12 kB / 440.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.2897, allocations: 8 kB / 440.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2897, allocations: 0 / 440.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.2904, allocations: 444.9 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.2905, allocations: 55.75 kB / 441 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.2906, allocations: 12 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2907, allocations: 19.98 kB / 441 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.2907, allocations: 0 / 441 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.2908, allocations: 15.98 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.2909, allocations: 127.2 kB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2909, allocations: 0 / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.2913, allocations: 52 kB / 441.2 MB, free: 12.2 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.001352/0.2926, allocations: 1.178 MB / 442.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005402/0.2932, allocations: 280.9 kB / 442.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2932, allocations: 0 / 442.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.2932, allocations: 13.67 kB / 442.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.2939, allocations: 207.7 kB / 442.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.2977, allocations: 2.964 MB / 445.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.2982, allocations: 0.7877 MB / 446.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.413e-05/0.2982, allocations: 22.41 kB / 446.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.2984, allocations: 75.34 kB / 446.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2984, allocations: 0 / 446.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.3311, allocations: 5.59 MB / 452.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.6, allocations: 3.859 kB / 452.3 MB, free: 0.8438 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.1957e-05 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.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! Error: Could not read variable upSample.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable upSample.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! Error: Could not read variable superSampleIpo.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! Error: Could not read variable FIR1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable FIR1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! Error: Could not read variable FIR2.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable FIR2.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.08866014799787]