Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",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.001793/0.001793, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001961/0.001961, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.503/1.503, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 47.92 kB / 350.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3015, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00319/0.3048, allocations: 1.616 MB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3059, allocations: 0.5619 MB / 402.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.306, allocations: 3.938 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.747e-05/0.3061, allocations: 11.92 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.3063, allocations: 27.78 kB / 402.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.3066, allocations: 71.73 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3068, allocations: 71.78 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3069, allocations: 24.19 kB / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3071, allocations: 35.92 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.849e-05/0.3072, allocations: 43.77 kB / 402.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3072, allocations: 4 kB / 402.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.3072, allocations: 4 kB / 402.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.3073, allocations: 19.92 kB / 402.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.3074, allocations: 39.73 kB / 402.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.3076, allocations: 78.66 kB / 402.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.3076, allocations: 0 / 402.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3076, allocations: 3.938 kB / 402.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3076, allocations: 0 / 402.9 MB, free: 6.18 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007593/0.3084, allocations: 406.9 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3084, allocations: 12.03 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.3085, allocations: 38.73 kB / 403.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3085, allocations: 12.89 kB / 403.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.3089, allocations: 212.1 kB / 403.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3089, allocations: 4.375 kB / 403.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.309, allocations: 8.375 kB / 403.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.3095, allocations: 225.8 kB / 403.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3095, allocations: 0 / 403.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3095, allocations: 8 kB / 403.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3096, allocations: 4 kB / 403.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3097, allocations: 47.91 kB / 403.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.3102, allocations: 290.5 kB / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.3104, allocations: 99.89 kB / 404.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3105, allocations: 54.61 kB / 404.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3106, allocations: 0 / 404.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3106, allocations: 46.5 kB / 404.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.3106, allocations: 0 / 404.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004601/0.3111, allocations: 145.5 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.3112, allocations: 110.8 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3114, allocations: 145.8 kB / 404.7 MB, free: 4.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3114, allocations: 25.7 kB / 404.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.3115, allocations: 88.14 kB / 404.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.3115, allocations: 23.94 kB / 404.8 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.3116, allocations: 29.67 kB / 404.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3118, allocations: 326.8 kB / 405.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.3119, allocations: 19.98 kB / 405.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.312, allocations: 93.31 kB / 405.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3122, allocations: 117.8 kB / 405.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3122, allocations: 0 / 405.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002424/0.3125, allocations: 129.4 kB / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3125, allocations: 11.98 kB / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3125, allocations: 4 kB / 405.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.3125, allocations: 4 kB / 405.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3127, allocations: 31.92 kB / 405.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.3127, allocations: 4 kB / 405.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.3128, allocations: 4.344 kB / 405.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3128, allocations: 12 kB / 405.6 MB, free: 3.086 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000145/0.3129, allocations: 137.7 kB / 405.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.3132, allocations: 97.58 kB / 405.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.3132, allocations: 12.31 kB / 405.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3132, allocations: 4 kB / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3132, allocations: 0 / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3132, allocations: 0 / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.3135, allocations: 189.5 kB / 406 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3135, allocations: 4 kB / 406 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.3136, allocations: 27.92 kB / 406.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3137, allocations: 0 / 406.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3137, allocations: 7.984 kB / 406.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.3137, allocations: 4 kB / 406.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3137, allocations: 0 / 406.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.314, allocations: 229 kB / 406.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.3141, allocations: 101 kB / 406.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3142, allocations: 8 kB / 406.4 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.3143, allocations: 4 kB / 406.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3143, allocations: 0 / 406.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3143, allocations: 7.984 kB / 406.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3144, allocations: 110 kB / 406.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3145, allocations: 0 / 406.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.3147, allocations: 12 kB / 406.5 MB, free: 2.043 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008676/0.3156, allocations: 0.8277 MB / 407.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.3159, allocations: 88.25 kB / 407.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3159, allocations: 0 / 407.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.316, allocations: 4 kB / 407.4 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.3164, allocations: 63.92 kB / 407.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.3184, allocations: 1.669 MB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3188, allocations: 0.7078 MB / 409.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.3188, allocations: 8.5 kB / 409.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.3189, allocations: 35.42 kB / 409.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3189, allocations: 0 / 409.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3435, allocations: 2.215 MB / 412.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.515, allocations: 21.25 kB / 412.2 MB, free: 12.34 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.4e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,superSampleIpo.y Variables in the result:time,sample1.y,sine.y,superSampleIpo.u,superSampleIpo.uu,superSampleIpo.y