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.001031/0.001031, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.002984/0.002984, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.921/0.921, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.034e-05, allocations: 6.281 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002252/0.002272, allocations: 1.755 MB / 326.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000829/0.003101, allocations: 0.5647 MB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.0032, allocations: 7.938 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.00325, allocations: 15.8 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.003402, allocations: 11.88 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.003797, allocations: 111.5 kB / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.003926, allocations: 99.64 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.00404, allocations: 21.61 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.004191, allocations: 67.81 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.004246, allocations: 27.91 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.004265, allocations: 4 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.421e-05/0.004309, allocations: 19.92 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.00437, allocations: 23.91 kB / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.004409, allocations: 27.92 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.004566, allocations: 115.6 kB / 327.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004568, allocations: 0 / 327.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.00457, allocations: 11.92 kB / 327.5 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004574, allocations: 0 / 327.5 MB, free: 13 MB / 298.7 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.0004193/0.004993, allocations: 356.7 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.005027, allocations: 11.97 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.005059, allocations: 38.75 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.005159, allocations: 24.83 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.005377, allocations: 169.5 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.005399, allocations: 8.375 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.005412, allocations: 12.38 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.005764, allocations: 269.2 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.005772, allocations: 192 / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.005783, allocations: 8.125 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005788, allocations: 4 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.005872, allocations: 47.97 kB / 328.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.006144, allocations: 265.6 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.006312, allocations: 123.9 kB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.00639, allocations: 78.47 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.00641, allocations: 0 / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.006433, allocations: 46.48 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.006433, allocations: 0 / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002738/0.006707, allocations: 173.4 kB / 329.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.006768, allocations: 119 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.006863, allocations: 158.2 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.006876, allocations: 29.7 kB / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.006918, allocations: 100.1 kB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.006934, allocations: 16.03 kB / 329.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.006964, allocations: 25.66 kB / 329.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.007043, allocations: 322.8 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.007074, allocations: 15.98 kB / 329.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.007116, allocations: 52.22 kB / 329.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.007188, allocations: 68.22 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00719, allocations: 0 / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001138/0.007304, allocations: 97.5 kB / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.007315, allocations: 4 kB / 330.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00732, allocations: 4 kB / 330.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007331, allocations: 0 / 330.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.007381, allocations: 11.92 kB / 330.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007386, allocations: 4 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.007413, allocations: 8.156 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.00742, allocations: 0 / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 7.497e-05/0.007495, allocations: 133.8 kB / 330.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.007615, allocations: 126 kB / 330.3 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.007645, allocations: 20.72 kB / 330.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007648, allocations: 4 kB / 330.4 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.007654, allocations: 4 kB / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007657, allocations: 0 / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.007779, allocations: 160.7 kB / 330.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.007781, allocations: 3.938 kB / 330.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.007842, allocations: 31.98 kB / 330.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007843, allocations: 0 / 330.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.007852, allocations: 4 kB / 330.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.007854, allocations: 0 / 330.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007855, allocations: 0 / 330.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.008042, allocations: 257 kB / 330.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.008082, allocations: 27.81 kB / 330.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.008101, allocations: 8 kB / 330.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.008144, allocations: 3.984 kB / 330.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.008175, allocations: 4 kB / 330.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.008183, allocations: 12 kB / 330.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.008238, allocations: 112.1 kB / 331 MB, free: 9.137 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008238, allocations: 0 / 331 MB, free: 9.137 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000173/0.008411, allocations: 16 kB / 331 MB, free: 9.121 MB / 298.7 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.0004532/0.008865, allocations: 0.849 MB / 331.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.009002, allocations: 76.12 kB / 331.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009003, allocations: 4.062 kB / 331.9 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.00902, allocations: 8 kB / 331.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.009341, allocations: 79.91 kB / 332 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.01042, allocations: 1.599 MB / 333.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.064e-05/0.01049, allocations: 105.8 kB / 333.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.01052, allocations: 8.969 kB / 333.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.01058, allocations: 36.48 kB / 333.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01058, allocations: 0 / 333.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.02759, allocations: 3.381 MB / 337.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/6.953, allocations: 3.984 kB / 337.1 MB, free: 2.938 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/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: 8.857940971851349]