Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001256/0.001256, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001353/0.001353, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.56/1.56, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 43.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 53.32 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002939/0.1154, allocations: 1.599 MB / 427.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1165, allocations: 0.5727 MB / 428.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.1166, allocations: 3.938 kB / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.1167, allocations: 3.938 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1168, allocations: 19.84 kB / 428.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.1171, allocations: 67.69 kB / 428.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1173, allocations: 47.86 kB / 428.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1174, allocations: 16.16 kB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1175, allocations: 27.86 kB / 428.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.1176, allocations: 23.86 kB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1176, allocations: 4 kB / 428.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.1177, allocations: 8 kB / 428.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.1178, allocations: 19.91 kB / 428.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.1178, allocations: 23.81 kB / 428.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.118, allocations: 59.67 kB / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.118, allocations: 0 / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.118, allocations: 4 kB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.118, allocations: 0 / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006267/0.1186, allocations: 383 kB / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.1187, allocations: 12.03 kB / 429.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.1187, allocations: 38.73 kB / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1189, allocations: 12.89 kB / 429.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1192, allocations: 216.6 kB / 429.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1192, allocations: 4.125 kB / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1192, allocations: 7.984 kB / 429.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.1195, allocations: 117.9 kB / 429.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1195, allocations: 0 / 429.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1195, allocations: 4 kB / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1195, allocations: 0 / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.1196, allocations: 27.92 kB / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.1199, allocations: 274.6 kB / 429.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1201, allocations: 71.86 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.1201, allocations: 34.5 kB / 430 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1202, allocations: 0 / 430 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1202, allocations: 38.56 kB / 430 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.1202, allocations: 0 / 430 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000282/0.1205, allocations: 85.5 kB / 430.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.1206, allocations: 114.8 kB / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1207, allocations: 143.8 kB / 430.4 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1207, allocations: 26.08 kB / 430.4 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.1208, allocations: 96.12 kB / 430.5 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.1208, allocations: 4 kB / 430.5 MB, free: 356 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1208, allocations: 21.67 kB / 430.5 MB, free: 328 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.121, allocations: 314.8 kB / 430.8 MB, free: 4 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.121, allocations: 12.08 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.1211, allocations: 31.42 kB / 430.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.792e-05/0.1212, allocations: 51.36 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1212, allocations: 0 / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001418/0.1213, allocations: 69.7 kB / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1213, allocations: 4 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1213, allocations: 4 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1214, allocations: 0 / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.1214, allocations: 15.92 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.1214, allocations: 7.922 kB / 431 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.1215, allocations: 7.938 kB / 431 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1215, allocations: 4 kB / 431 MB, free: 15.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.57e-05/0.1216, allocations: 121.8 kB / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.1217, allocations: 61.56 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.1217, allocations: 7.875 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1217, allocations: 3.984 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.1217, allocations: 7.938 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1217, allocations: 0 / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1219, allocations: 173.7 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1219, allocations: 0 / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.122, allocations: 15.92 kB / 431.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.122, allocations: 0 / 431.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.122, allocations: 64 / 431.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.122, allocations: 8 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.122, allocations: 3.938 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1222, allocations: 173.1 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.1223, allocations: 93.05 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1223, allocations: 4 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.1223, allocations: 4 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1224, allocations: 11.92 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1224, allocations: 8 kB / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.175e-05/0.1225, allocations: 110.3 kB / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1225, allocations: 0 / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1227, allocations: 4 kB / 431.8 MB, free: 14.86 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000503/0.1232, allocations: 0.7181 MB / 432.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.1233, allocations: 27.92 kB / 432.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1233, allocations: 0 / 432.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.1234, allocations: 20.23 kB / 432.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.1237, allocations: 27.7 kB / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1252, allocations: 1.402 MB / 434 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1255, allocations: 0.6885 MB / 434.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.1256, allocations: 11.98 kB / 434.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.1256, allocations: 19.44 kB / 434.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1256, allocations: 0 / 434.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1497, allocations: 1.705 MB / 436.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.818, allocations: 8 kB / 436.4 MB, free: 10.19 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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: 10.66006038300111]