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.001362/0.001362, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 56.03 kB / 307.1 MB, free: 468 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09906, allocations: 50.53 MB / 357.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003088/0.1022, allocations: 1.618 MB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1034, allocations: 0.6311 MB / 359.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1035, allocations: 7.938 kB / 359.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.1036, allocations: 11.86 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.1039, allocations: 23.84 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1042, allocations: 87.3 kB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1044, allocations: 71.78 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1045, allocations: 23.97 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.1046, allocations: 35.91 kB / 360.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.1047, allocations: 39.78 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1047, allocations: 4 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.1048, allocations: 16 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.1049, allocations: 19.91 kB / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.1049, allocations: 39.73 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1051, allocations: 79.7 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1051, allocations: 7.938 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1051, allocations: 0 / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1051, allocations: 4 kB / 360.3 MB, free: 11.2 MB / 302.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.0005876/0.1057, allocations: 411.2 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1058, allocations: 12.03 kB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.1058, allocations: 38.73 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.106, allocations: 20.75 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1062, allocations: 204.7 kB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1063, allocations: 4.375 kB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1063, allocations: 19.86 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.1067, allocations: 213.8 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1068, allocations: 0 / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1068, allocations: 7.938 kB / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1068, allocations: 4 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.107, allocations: 55.89 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1073, allocations: 282.5 kB / 361.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1075, allocations: 103.8 kB / 361.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.1076, allocations: 58.75 kB / 361.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1077, allocations: 0 / 361.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1077, allocations: 46.48 kB / 361.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1077, allocations: 3.938 kB / 361.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004347/0.1082, allocations: 141.5 kB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.1083, allocations: 114.8 kB / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1084, allocations: 149.7 kB / 362.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1084, allocations: 29.7 kB / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.1085, allocations: 100.2 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1085, allocations: 15.89 kB / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.1086, allocations: 29.7 kB / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1087, allocations: 314.8 kB / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.1088, allocations: 19.98 kB / 362.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.1089, allocations: 101.4 kB / 362.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1091, allocations: 117.3 kB / 362.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1091, allocations: 0 / 362.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00023/0.1093, allocations: 133.3 kB / 363 MB, free: 8.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1093, allocations: 8 kB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1094, allocations: 0 / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1094, allocations: 4 kB / 363 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1095, allocations: 27.92 kB / 363 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1095, allocations: 4 kB / 363 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.1096, allocations: 20.19 kB / 363.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1096, allocations: 4 kB / 363.1 MB, free: 8.078 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.000114/0.1097, allocations: 144 kB / 363.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.1099, allocations: 89.58 kB / 363.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.11, allocations: 20.3 kB / 363.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.11, allocations: 0 / 363.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.11, allocations: 4.625 kB / 363.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.11, allocations: 3.938 kB / 363.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1102, allocations: 185.6 kB / 363.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1102, allocations: 4 kB / 363.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1103, allocations: 27.92 kB / 363.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.1103, allocations: 4 kB / 363.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1104, allocations: 0 / 363.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1104, allocations: 0 / 363.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1104, allocations: 7.984 kB / 363.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1107, allocations: 236.8 kB / 363.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.1108, allocations: 97 kB / 363.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1108, allocations: 8 kB / 363.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.1109, allocations: 7.984 kB / 363.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.111, allocations: 3.938 kB / 363.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.111, allocations: 4 kB / 363.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.201e-05/0.1111, allocations: 110.2 kB / 364 MB, free: 7.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1111, allocations: 0 / 364 MB, free: 7.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1113, allocations: 16 kB / 364 MB, free: 7.02 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.0006884/0.112, allocations: 0.8154 MB / 364.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1123, allocations: 83.84 kB / 364.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1123, allocations: 0 / 364.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.1123, allocations: 7.984 kB / 364.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.1128, allocations: 67.88 kB / 365 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.1147, allocations: 1.667 MB / 366.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.115, allocations: 0.708 MB / 367.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.038e-05/0.1151, allocations: 4.562 kB / 367.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.1152, allocations: 27.42 kB / 367.4 MB, free: 3.43 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1152, allocations: 0 / 367.4 MB, free: 3.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.136, allocations: 2.213 MB / 369.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.619, allocations: 13.69 kB / 369.6 MB, free: 1.332 MB / 302.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