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.001579/0.001579, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001856/0.001856, allocations: 206 kB / 23.72 MB, free: 4.492 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.002151/0.002151, allocations: 75.81 kB / 377.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.27, allocations: 53.41 MB / 431.2 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003331/0.2733, allocations: 1.74 MB / 432.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2747, allocations: 0.6504 MB / 433.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.2748, allocations: 7.938 kB / 433.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.275, allocations: 19.8 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.2752, allocations: 39.72 kB / 433.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.2757, allocations: 143.6 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.2759, allocations: 159.6 kB / 433.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.276, allocations: 27.41 kB / 433.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2762, allocations: 79.75 kB / 434 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2764, allocations: 107.6 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.2765, allocations: 16 kB / 434.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.2765, allocations: 16 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.2766, allocations: 59.83 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.84e-05/0.2767, allocations: 67.58 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.277, allocations: 227 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.277, allocations: 0 / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.277, allocations: 0 / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2771, allocations: 0 / 434.5 MB, free: 3.039 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.0009165/0.278, allocations: 453.2 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.278, allocations: 15.98 kB / 435 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.802e-05/0.2781, allocations: 50.73 kB / 435 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.2783, allocations: 44.73 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.2786, allocations: 194.1 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.2786, allocations: 12.38 kB / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.2787, allocations: 16.38 kB / 435.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.2798, allocations: 0.6262 MB / 435.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2798, allocations: 3.938 kB / 435.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.2798, allocations: 8 kB / 435.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.2799, allocations: 15.98 kB / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.2803, allocations: 187.8 kB / 436.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.2807, allocations: 309.5 kB / 436.4 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.2812, allocations: 223.6 kB / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.2815, allocations: 147.4 kB / 436.8 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.2815, allocations: 7.938 kB / 436.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2815, allocations: 38.56 kB / 436.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 2.103e-06/0.2815, allocations: 0 / 436.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008447/0.2824, allocations: 421.8 kB / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.2825, allocations: 142.7 kB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.2827, allocations: 178.4 kB / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.2827, allocations: 29.7 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.2828, allocations: 97.27 kB / 437.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.2828, allocations: 55.81 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.2829, allocations: 78.12 kB / 437.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2831, allocations: 334.8 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2832, allocations: 76.83 kB / 438.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.2835, allocations: 318.7 kB / 438.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.284, allocations: 416.9 kB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.2841, allocations: 4 kB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006181/0.2847, allocations: 401.2 kB / 439.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.2847, allocations: 15.98 kB / 439.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.2847, allocations: 8 kB / 439.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.2847, allocations: 12 kB / 439.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.285, allocations: 84.44 kB / 439.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/0.285, allocations: 15.98 kB / 439.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.2852, allocations: 35.78 kB / 439.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.2852, allocations: 35.92 kB / 439.5 MB, free: 13.54 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.000195/0.2854, allocations: 182.1 kB / 439.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/0.2859, allocations: 297.4 kB / 440 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.409e-05/0.286, allocations: 34.64 kB / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.286, allocations: 4 kB / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.286, allocations: 0 / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.286, allocations: 0 / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.2863, allocations: 204.4 kB / 440.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2863, allocations: 3.984 kB / 440.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.2865, allocations: 63.91 kB / 440.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2865, allocations: 0 / 440.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.2865, allocations: 11.98 kB / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2865, allocations: 0 / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2865, allocations: 4 kB / 440.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.2872, allocations: 441 kB / 440.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.2873, allocations: 47.77 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.2873, allocations: 19.98 kB / 440.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2875, allocations: 16 kB / 440.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.2875, allocations: 3.984 kB / 440.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.2875, allocations: 12 kB / 440.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.2876, allocations: 131.2 kB / 441 MB, free: 12.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2876, allocations: 0 / 441 MB, free: 12.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.288, allocations: 52 kB / 441 MB, free: 11.96 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.00129/0.2893, allocations: 1.18 MB / 442.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.2898, allocations: 274 kB / 442.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2898, allocations: 0 / 442.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.2899, allocations: 16.55 kB / 442.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.2906, allocations: 215.6 kB / 442.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.2944, allocations: 2.962 MB / 445.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.2945, allocations: 174 kB / 445.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.952e-05/0.2946, allocations: 22.28 kB / 445.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2947, allocations: 71.41 kB / 445.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2947, allocations: 0 / 445.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.3281, allocations: 5.8 MB / 451.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.53, allocations: 3.438 kB / 451.7 MB, free: 1.039 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.130638123955578]