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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 51.91 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1139, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003309/0.1172, allocations: 1.619 MB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1183, allocations: 0.5687 MB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.1184, allocations: 0 / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.672e-05/0.1185, allocations: 11.86 kB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.1188, allocations: 31.78 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1191, allocations: 67.8 kB / 420.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1192, allocations: 71.78 kB / 420.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.1193, allocations: 20.2 kB / 420.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.942e-05/0.1194, allocations: 35.86 kB / 420.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.1195, allocations: 35.83 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1195, allocations: 4 kB / 420.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.1195, allocations: 8 kB / 420.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.1196, allocations: 19.92 kB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.1197, allocations: 39.73 kB / 420.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1198, allocations: 79.64 kB / 420.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1198, allocations: 4 kB / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1198, allocations: 0 / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1198, allocations: 0 / 420.4 MB, free: 10 MB / 350.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.0006929/0.1205, allocations: 418.8 kB / 420.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1206, allocations: 12.03 kB / 420.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.1206, allocations: 34.75 kB / 420.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.1207, allocations: 12.89 kB / 420.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.121, allocations: 204.2 kB / 421.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.121, allocations: 8.375 kB / 421.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.121, allocations: 4.375 kB / 421.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.1215, allocations: 227.4 kB / 421.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1215, allocations: 0 / 421.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1215, allocations: 0 / 421.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1215, allocations: 4 kB / 421.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.1217, allocations: 63.88 kB / 421.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1221, allocations: 286.5 kB / 421.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1223, allocations: 99.75 kB / 421.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1224, allocations: 50.75 kB / 421.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1225, allocations: 7.938 kB / 421.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1225, allocations: 34.5 kB / 421.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1225, allocations: 7.938 kB / 421.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004611/0.123, allocations: 145.5 kB / 422 MB, free: 8.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1231, allocations: 114.8 kB / 422.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1232, allocations: 144.2 kB / 422.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1232, allocations: 29.7 kB / 422.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.1233, allocations: 96.06 kB / 422.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1233, allocations: 11.94 kB / 422.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.1234, allocations: 29.67 kB / 422.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1235, allocations: 326.8 kB / 422.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.1236, allocations: 19.98 kB / 422.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.1237, allocations: 93.38 kB / 422.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1239, allocations: 113.3 kB / 422.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1239, allocations: 4 kB / 422.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002462/0.1242, allocations: 133.4 kB / 423.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1242, allocations: 8 kB / 423.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1242, allocations: 0 / 423.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1242, allocations: 4.344 kB / 423.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1243, allocations: 31.92 kB / 423.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.1244, allocations: 7.984 kB / 423.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.1244, allocations: 4 kB / 423.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1244, allocations: 12 kB / 423.1 MB, free: 6.906 MB / 350.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.0001165/0.1246, allocations: 132 kB / 423.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.1248, allocations: 98.08 kB / 423.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.1248, allocations: 12.31 kB / 423.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1248, allocations: 0 / 423.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.1248, allocations: 16.11 kB / 423.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1248, allocations: 0 / 423.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.1251, allocations: 189.5 kB / 423.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1251, allocations: 0 / 423.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.1252, allocations: 27.92 kB / 423.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1252, allocations: 3.984 kB / 423.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1252, allocations: 4 kB / 423.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1252, allocations: 4 kB / 423.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1252, allocations: 0 / 423.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1256, allocations: 225.1 kB / 423.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.1256, allocations: 97 kB / 423.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.1257, allocations: 11.94 kB / 423.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.1258, allocations: 4 kB / 423.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1258, allocations: 3.984 kB / 424 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1258, allocations: 8 kB / 424 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.1259, allocations: 117.4 kB / 424.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1259, allocations: 0 / 424.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1262, allocations: 16 kB / 424.1 MB, free: 5.852 MB / 350.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.0008371/0.127, allocations: 0.8237 MB / 424.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1272, allocations: 75.88 kB / 425 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1273, allocations: 0 / 425 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.1273, allocations: 4 kB / 425 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.1278, allocations: 68 kB / 425.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1298, allocations: 1.674 MB / 426.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1302, allocations: 0.7117 MB / 427.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.772e-05/0.1302, allocations: 8.938 kB / 427.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.1303, allocations: 27.42 kB / 427.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1303, allocations: 3.938 kB / 427.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.1561, allocations: 2.254 MB / 429.7 MB, free: 136 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.426, allocations: 12.41 kB / 429.7 MB, free: 124 kB / 350.1 MB " [Timeout remaining time 652] (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 1.1957e-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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable superSampleIpo.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSampleIpo.y Variables in the result:time,previous(superSampleIpo.uu),sample1.y,sine.y,superSampleIpo.u,superSampleIpo.uu [Calling sys.exit(0), Time elapsed: 11.223698473069817]