Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001398, allocations: 116.1 kB / 17.06 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 196 kB / 18.01 MB, free: 4.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.001521, allocations: 47.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3245, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003651/0.3282, allocations: 1.58 MB / 401.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3295, allocations: 0.4886 MB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3296, allocations: 3.938 kB / 402.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.729e-05/0.3297, allocations: 7.922 kB / 402.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3299, allocations: 15.92 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.3302, allocations: 59.77 kB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3304, allocations: 43.84 kB / 402.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3305, allocations: 16.17 kB / 402.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.3306, allocations: 23.86 kB / 402.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.3307, allocations: 19.86 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.3307, allocations: 4 kB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.3307, allocations: 8 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.3308, allocations: 15.92 kB / 402.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.3308, allocations: 23.81 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.331, allocations: 58.69 kB / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.331, allocations: 0 / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.331, allocations: 0 / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.331, allocations: 0 / 402.6 MB, free: 6.461 MB / 318.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.0006317/0.3317, allocations: 382 kB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3317, allocations: 8.031 kB / 403 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.3318, allocations: 38.73 kB / 403 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3318, allocations: 16.83 kB / 403 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.3322, allocations: 208.2 kB / 403.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3322, allocations: 384 / 403.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3322, allocations: 4.375 kB / 403.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3325, allocations: 117.8 kB / 403.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3326, allocations: 4 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3326, allocations: 0 / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3326, allocations: 0 / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.3327, allocations: 23.92 kB / 403.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3331, allocations: 274.6 kB / 403.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3332, allocations: 71.67 kB / 403.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.3333, allocations: 34.62 kB / 403.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.3333, allocations: 8 kB / 403.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.3334, allocations: 38.5 kB / 403.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.3334, allocations: 0 / 403.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003089/0.3337, allocations: 81.55 kB / 403.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.3338, allocations: 111.2 kB / 404 MB, free: 4.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.334, allocations: 137.8 kB / 404.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.334, allocations: 33.64 kB / 404.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.3341, allocations: 92.06 kB / 404.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3341, allocations: 7.953 kB / 404.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3342, allocations: 13.72 kB / 404.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3343, allocations: 326.8 kB / 404.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.3344, allocations: 4 kB / 404.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.3344, allocations: 39.42 kB / 404.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.3346, allocations: 51.36 kB / 404.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3346, allocations: 4 kB / 404.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001562/0.3347, allocations: 73.56 kB / 404.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3348, allocations: 4 kB / 404.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3348, allocations: 0 / 404.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3348, allocations: 4 kB / 404.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.3349, allocations: 8 kB / 404.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3349, allocations: 3.938 kB / 404.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.335, allocations: 12.11 kB / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.335, allocations: 4 kB / 404.8 MB, free: 3.957 MB / 318.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 0.0001201/0.3351, allocations: 121.7 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.3352, allocations: 53.64 kB / 405 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.3353, allocations: 15.81 kB / 405 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3353, allocations: 0 / 405 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3353, allocations: 0 / 405 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3353, allocations: 0 / 405 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.3355, allocations: 177.6 kB / 405.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3355, allocations: 4.062 kB / 405.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.3356, allocations: 8 kB / 405.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3356, allocations: 4 kB / 405.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3356, allocations: 3.984 kB / 405.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3356, allocations: 3.938 kB / 405.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3357, allocations: 0 / 405.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3359, allocations: 185.1 kB / 405.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.336, allocations: 97.05 kB / 405.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.336, allocations: 0 / 405.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.3361, allocations: 4 kB / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3361, allocations: 4.078 kB / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3361, allocations: 4 kB / 405.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.973e-05/0.3362, allocations: 109.8 kB / 405.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3363, allocations: 0 / 405.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.3365, allocations: 4 kB / 405.6 MB, free: 3.066 MB / 318.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.0006469/0.3371, allocations: 0.7218 MB / 406.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.3373, allocations: 35.98 kB / 406.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3373, allocations: 3.938 kB / 406.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.3374, allocations: 4 kB / 406.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3378, allocations: 24.02 kB / 406.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3395, allocations: 1.395 MB / 407.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3399, allocations: 0.7039 MB / 408.5 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.093e-05/0.34, allocations: 4 kB / 408.5 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.34, allocations: 15.44 kB / 408.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3401, allocations: 0 / 408.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.3663, allocations: 1.676 MB / 410.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.373, allocations: 16.17 kB / 410.2 MB, free: 14.42 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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 3.2e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches