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.001334/0.001334, allocations: 109.8 kB / 16.92 MB, free: 5.855 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.001312/0.001312, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.416/1.416, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 48.8 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1122, allocations: 49.44 MB / 350.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.004341/0.1167, allocations: 1.592 MB / 351.8 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.118, allocations: 0.5741 MB / 352.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.1181, allocations: 7.875 kB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.1181, allocations: 3.938 kB / 352.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1184, allocations: 31.78 kB / 352.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1187, allocations: 67.73 kB / 352.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1188, allocations: 75.84 kB / 352.5 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1189, allocations: 24.2 kB / 352.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.119, allocations: 35.84 kB / 352.6 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.1191, allocations: 35.84 kB / 352.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1192, allocations: 7.938 kB / 352.6 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.1192, allocations: 7.938 kB / 352.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.1193, allocations: 19.92 kB / 352.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.1193, allocations: 39.73 kB / 352.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1195, allocations: 75.7 kB / 352.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1195, allocations: 7.938 kB / 352.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1195, allocations: 0 / 352.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1195, allocations: 4 kB / 352.8 MB, free: 1.723 MB / 286.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.0006825/0.1202, allocations: 399.3 kB / 353.2 MB, free: 1.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.1203, allocations: 8.031 kB / 353.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.1203, allocations: 42.73 kB / 353.2 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.1204, allocations: 12.75 kB / 353.2 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1207, allocations: 218.7 kB / 353.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.1208, allocations: 384 / 353.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1208, allocations: 12.38 kB / 353.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.1215, allocations: 213.9 kB / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1215, allocations: 0 / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1215, allocations: 8 kB / 353.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1215, allocations: 7.938 kB / 353.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.1217, allocations: 51.89 kB / 353.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.1223, allocations: 286.6 kB / 354 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.1225, allocations: 112 kB / 354.1 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.1227, allocations: 46.56 kB / 354.2 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.1227, allocations: 0 / 354.2 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.1228, allocations: 50.48 kB / 354.2 MB, free: 72 kB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1228, allocations: 0 / 354.2 MB, free: 72 kB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005082/0.1233, allocations: 141.4 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.1234, allocations: 110.8 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1236, allocations: 145.8 kB / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1236, allocations: 25.7 kB / 354.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.1236, allocations: 92.08 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1237, allocations: 16.02 kB / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.1237, allocations: 37.56 kB / 354.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1239, allocations: 322.8 kB / 355.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.1239, allocations: 19.98 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1241, allocations: 92.55 kB / 355.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1242, allocations: 113.3 kB / 355.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1242, allocations: 4 kB / 355.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002362/0.1245, allocations: 133.3 kB / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1245, allocations: 4 kB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1245, allocations: 4 kB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1246, allocations: 4 kB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1247, allocations: 31.86 kB / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1247, allocations: 4 kB / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.1248, allocations: 4.344 kB / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.1248, allocations: 15.94 kB / 355.5 MB, free: 14.64 MB / 302.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.0001339/0.1249, allocations: 136.8 kB / 355.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.1251, allocations: 98.2 kB / 355.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.1252, allocations: 16.28 kB / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1252, allocations: 4 kB / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1252, allocations: 0 / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1252, allocations: 0 / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1255, allocations: 197.4 kB / 355.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1255, allocations: 4 kB / 355.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1256, allocations: 27.97 kB / 356 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1256, allocations: 0 / 356 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1256, allocations: 8 kB / 356 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1256, allocations: 0 / 356 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1257, allocations: 0 / 356 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.126, allocations: 229 kB / 356.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.1261, allocations: 100.9 kB / 356.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1261, allocations: 4 kB / 356.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.1262, allocations: 7.984 kB / 356.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1263, allocations: 0 / 356.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1263, allocations: 4 kB / 356.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.105e-05/0.1264, allocations: 118.5 kB / 356.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1264, allocations: 0 / 356.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1266, allocations: 12 kB / 356.4 MB, free: 13.59 MB / 302.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.0007101/0.1273, allocations: 0.808 MB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1276, allocations: 92.25 kB / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1276, allocations: 3.938 kB / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.1277, allocations: 11.98 kB / 357.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.1282, allocations: 51.95 kB / 357.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1301, allocations: 1.669 MB / 359.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1304, allocations: 0.7041 MB / 359.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.1305, allocations: 8.547 kB / 359.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.1306, allocations: 31.42 kB / 359.8 MB, free: 10 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1306, allocations: 0 / 359.8 MB, free: 10 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.1486, allocations: 2.187 MB / 362 MB, free: 7.934 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/8.438, allocations: 26.97 kB / 362 MB, free: 7.914 MB / 302.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