Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001755/0.001755, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002136/0.002136, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.UpSample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 55.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2708, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003604/0.2744, allocations: 1.738 MB / 432.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.2758, allocations: 0.5688 MB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.276, allocations: 7.938 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.967e-05/0.276, allocations: 15.75 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2762, allocations: 15.86 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.2768, allocations: 107.6 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.277, allocations: 91.75 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2772, allocations: 19.31 kB / 433.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.2774, allocations: 63.77 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.2775, allocations: 35.78 kB / 433.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.2775, allocations: 8 kB / 433.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.806e-05/0.2776, allocations: 12 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.2776, allocations: 27.84 kB / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.2777, allocations: 35.8 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.278, allocations: 119.4 kB / 434 MB, free: 3.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.278, allocations: 0 / 434 MB, free: 3.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.278, allocations: 0 / 434 MB, free: 3.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.278, allocations: 0 / 434 MB, free: 3.746 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006357/0.2786, allocations: 357.7 kB / 434.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2787, allocations: 12.03 kB / 434.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.2787, allocations: 42.75 kB / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.2789, allocations: 24.83 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.2792, allocations: 170.1 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2792, allocations: 8.375 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.2793, allocations: 12.38 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.2798, allocations: 267.4 kB / 434.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2798, allocations: 0 / 434.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2798, allocations: 8 kB / 434.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2798, allocations: 4 kB / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.28, allocations: 47.97 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.2804, allocations: 269.5 kB / 435.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.2807, allocations: 127.9 kB / 435.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.2808, allocations: 62.62 kB / 435.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.2808, allocations: 7.984 kB / 435.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.2809, allocations: 38.5 kB / 435.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.2809, allocations: 4 kB / 435.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004798/0.2813, allocations: 177.6 kB / 435.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.2815, allocations: 114.8 kB / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.2817, allocations: 158.1 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.2817, allocations: 29.7 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.2818, allocations: 100.1 kB / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.2818, allocations: 15.91 kB / 436 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.2819, allocations: 33.7 kB / 436 MB, free: 1.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2821, allocations: 330.8 kB / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.2821, allocations: 28.11 kB / 436.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.2823, allocations: 136.6 kB / 436.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.2825, allocations: 174.3 kB / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2825, allocations: 0 / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003503/0.2829, allocations: 185.2 kB / 436.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2829, allocations: 8.375 kB / 436.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2829, allocations: 4 kB / 436.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.283, allocations: 4 kB / 436.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2831, allocations: 32.45 kB / 436.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.2831, allocations: 19.81 kB / 436.9 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.2832, allocations: 15.95 kB / 436.9 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.2832, allocations: 11.98 kB / 436.9 MB, free: 428 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001326/0.2834, allocations: 139.8 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.2835, allocations: 117.9 kB / 437.2 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.2836, allocations: 16.72 kB / 437.2 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2836, allocations: 4 kB / 437.2 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.2836, allocations: 3.938 kB / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.2836, allocations: 3.984 kB / 437.2 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2839, allocations: 164.6 kB / 437.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2839, allocations: 4 kB / 437.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.284, allocations: 23.98 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.284, allocations: 0 / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.284, allocations: 7.984 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.284, allocations: 4 kB / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.284, allocations: 7.875 kB / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.2843, allocations: 257.1 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.2844, allocations: 27.88 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.2844, allocations: 7.984 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.2845, allocations: 8 kB / 437.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.2845, allocations: 3.938 kB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2846, allocations: 8 kB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.766e-05/0.2847, allocations: 115.2 kB / 437.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2847, allocations: 0 / 437.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.285, allocations: 20 kB / 437.9 MB, free: 15.41 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007933/0.2857, allocations: 0.8441 MB / 438.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.286, allocations: 111.7 kB / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.286, allocations: 4 kB / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.286, allocations: 4 kB / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.2866, allocations: 87.81 kB / 438.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.2888, allocations: 1.869 MB / 440.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2889, allocations: 102.3 kB / 440.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.2889, allocations: 17.36 kB / 440.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.289, allocations: 35.42 kB / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.289, allocations: 0 / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.3191, allocations: 3.37 MB / 444.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.48, allocations: 6.516 kB / 444.3 MB, free: 8.883 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.78998e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable upSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv. Warning: Get data of variable upSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv failed! Error: Could not read variable upSample2.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv. Warning: Get data of variable upSample2.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,upSample1.y,upSample2.y,add.y Variables in the result:time,add.u1,add.u2,add.y,sample1.y,sine.y [Calling sys.exit(0), Time elapsed: 13.99576555332169]