Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001201/0.001201, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 56.09 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3174, allocations: 50.54 MB / 408.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003128/0.3205, allocations: 1.627 MB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.322, allocations: 0.6193 MB / 411 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3221, allocations: 7.938 kB / 411 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.3222, allocations: 3.938 kB / 411 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.3226, allocations: 31.78 kB / 411.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.323, allocations: 87.41 kB / 411.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.3231, allocations: 75.72 kB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3232, allocations: 19.98 kB / 411.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.3234, allocations: 31.91 kB / 411.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.3235, allocations: 39.78 kB / 411.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3235, allocations: 4 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.792e-05/0.3236, allocations: 11.98 kB / 411.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.3236, allocations: 19.92 kB / 411.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.3237, allocations: 43.73 kB / 411.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.3239, allocations: 90.53 kB / 411.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3239, allocations: 0 / 411.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3239, allocations: 0 / 411.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.324, allocations: 0 / 411.5 MB, free: 14.95 MB / 334.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.000693/0.3247, allocations: 414.9 kB / 411.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3247, allocations: 8.031 kB / 411.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.3248, allocations: 46.73 kB / 411.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.325, allocations: 24.84 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.3253, allocations: 208.1 kB / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.3254, allocations: 8.312 kB / 412.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3254, allocations: 11.94 kB / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.3259, allocations: 217.7 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.326, allocations: 0 / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.326, allocations: 4 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.326, allocations: 0 / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.3262, allocations: 55.89 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.3266, allocations: 298.5 kB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.3268, allocations: 99.77 kB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3269, allocations: 58.73 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.327, allocations: 7.938 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.327, allocations: 38.48 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.327, allocations: 0 / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004443/0.3274, allocations: 141.5 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.3276, allocations: 118.9 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3277, allocations: 145.7 kB / 413.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3277, allocations: 29.7 kB / 413.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3278, allocations: 96.12 kB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.3278, allocations: 15.91 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.3279, allocations: 33.7 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.328, allocations: 322.8 kB / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.3281, allocations: 27.92 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.3282, allocations: 81.44 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.3284, allocations: 113.3 kB / 414 MB, free: 12.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3284, allocations: 0 / 414 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002364/0.3287, allocations: 133.6 kB / 414.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3287, allocations: 12.06 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3287, allocations: 0 / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3287, allocations: 4 kB / 414.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3289, allocations: 27.92 kB / 414.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3289, allocations: 7.984 kB / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.329, allocations: 15.89 kB / 414.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.329, allocations: 4 kB / 414.2 MB, free: 11.83 MB / 334.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.0001361/0.3291, allocations: 137.7 kB / 414.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.3293, allocations: 94.11 kB / 414.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.3294, allocations: 20.31 kB / 414.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3294, allocations: 0 / 414.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3294, allocations: 12.06 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3294, allocations: 7.875 kB / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.3296, allocations: 185.6 kB / 414.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3297, allocations: 4 kB / 414.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3298, allocations: 23.92 kB / 414.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3298, allocations: 0 / 414.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3298, allocations: 0 / 414.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3298, allocations: 7.984 kB / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3298, allocations: 4 kB / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.3301, allocations: 225.1 kB / 414.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/0.3302, allocations: 104.9 kB / 415 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3303, allocations: 4 kB / 415 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.3304, allocations: 8 kB / 415.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3304, allocations: 11.92 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3304, allocations: 7.984 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.3305, allocations: 108.4 kB / 415.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3305, allocations: 3.938 kB / 415.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3308, allocations: 12 kB / 415.2 MB, free: 10.75 MB / 334.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.0007224/0.3315, allocations: 0.8078 MB / 416 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.3318, allocations: 83.88 kB / 416.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3318, allocations: 0.6875 kB / 416.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.3318, allocations: 8 kB / 416.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.3323, allocations: 63.86 kB / 416.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3342, allocations: 1.68 MB / 417.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3345, allocations: 0.708 MB / 418.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.3346, allocations: 4.938 kB / 418.5 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.3346, allocations: 27.42 kB / 418.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3346, allocations: 192 / 418.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.3532, allocations: 2.258 MB / 420.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.86, allocations: 10.75 kB / 420.8 MB, free: 5.039 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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