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.001591/0.001591, allocations: 114.1 kB / 17.06 MB, free: 6.016 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.001482/0.001483, allocations: 191 kB / 18 MB, free: 5.098 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.44/1.44, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 47.92 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3251, allocations: 49.44 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003039/0.3282, allocations: 1.612 MB / 401.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3293, allocations: 0.5591 MB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.982e-05/0.3294, allocations: 0 / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.3295, allocations: 7.875 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.3298, allocations: 27.78 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3301, allocations: 67.86 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3302, allocations: 75.77 kB / 402.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3303, allocations: 24.2 kB / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3304, allocations: 43.78 kB / 402.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.3305, allocations: 35.84 kB / 402.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3305, allocations: 4 kB / 402.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.3306, allocations: 4 kB / 402.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.3306, allocations: 23.92 kB / 402.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.3307, allocations: 43.67 kB / 402.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3309, allocations: 82.59 kB / 402.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3309, allocations: 4 kB / 402.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3309, allocations: 0 / 402.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3309, allocations: 0 / 402.8 MB, free: 6.23 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.0006539/0.3316, allocations: 406.9 kB / 403.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3316, allocations: 8.031 kB / 403.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.3317, allocations: 46.67 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3317, allocations: 8.891 kB / 403.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.332, allocations: 208.2 kB / 403.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.332, allocations: 8.375 kB / 403.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.332, allocations: 4.375 kB / 403.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.3326, allocations: 236.1 kB / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3326, allocations: 0 / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3326, allocations: 0 / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3326, allocations: 0 / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3328, allocations: 51.95 kB / 403.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.3332, allocations: 298.5 kB / 404.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3334, allocations: 95.77 kB / 404.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3335, allocations: 58.73 kB / 404.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.3335, allocations: 4 kB / 404.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3336, allocations: 34.56 kB / 404.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.3336, allocations: 4 kB / 404.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004263/0.334, allocations: 141.5 kB / 404.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.3341, allocations: 118.8 kB / 404.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3343, allocations: 140.5 kB / 404.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3343, allocations: 33.7 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.3344, allocations: 88.12 kB / 404.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.3344, allocations: 15.89 kB / 404.8 MB, free: 4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3344, allocations: 33.66 kB / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3346, allocations: 322.8 kB / 405.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.3347, allocations: 19.98 kB / 405.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.3348, allocations: 96.98 kB / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.335, allocations: 113.3 kB / 405.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.335, allocations: 4 kB / 405.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000234/0.3352, allocations: 133.3 kB / 405.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3352, allocations: 8 kB / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.3353, allocations: 0 / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3353, allocations: 4.344 kB / 405.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3354, allocations: 28.48 kB / 405.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3354, allocations: 7.938 kB / 405.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.3355, allocations: 19.86 kB / 405.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.3355, allocations: 12 kB / 405.6 MB, free: 3.129 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.0001012/0.3356, allocations: 125.8 kB / 405.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.3359, allocations: 97.52 kB / 405.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.3359, allocations: 20.3 kB / 405.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3359, allocations: 0 / 405.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.336, allocations: 4 kB / 405.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.336, allocations: 4 kB / 405.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3362, allocations: 189.5 kB / 406 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3362, allocations: 4 kB / 406 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3363, allocations: 23.92 kB / 406.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3363, allocations: 0 / 406.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3363, allocations: 0 / 406.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3364, allocations: 4 kB / 406.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3364, allocations: 0 / 406.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.3367, allocations: 237 kB / 406.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.3368, allocations: 97 kB / 406.4 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3368, allocations: 4 kB / 406.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.3369, allocations: 11.98 kB / 406.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.337, allocations: 0 / 406.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.337, allocations: 4 kB / 406.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.812e-05/0.3371, allocations: 110.3 kB / 406.5 MB, free: 2.105 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3371, allocations: 7.938 kB / 406.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3374, allocations: 16 kB / 406.5 MB, free: 2.082 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.000811/0.3382, allocations: 0.8122 MB / 407.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.3384, allocations: 79.78 kB / 407.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3385, allocations: 4 kB / 407.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.3385, allocations: 11.92 kB / 407.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.339, allocations: 60.48 kB / 407.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.341, allocations: 1.681 MB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3414, allocations: 0.7039 MB / 409.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.3414, allocations: 12.55 kB / 409.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.3415, allocations: 31.42 kB / 409.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3415, allocations: 0 / 409.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.3598, allocations: 2.222 MB / 412.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.375, allocations: 14.84 kB / 412.2 MB, free: 12.38 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