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.001756/0.001756, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001849/0.001849, allocations: 190.2 kB / 23.71 MB, free: 4.406 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.411/1.411, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.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.001565/0.001565, allocations: 43.92 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2721, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003059/0.2751, allocations: 1.618 MB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2762, allocations: 0.5221 MB / 424.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.2762, allocations: 3.938 kB / 424.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.2763, allocations: 3.938 kB / 424.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.2765, allocations: 31.78 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2768, allocations: 75.8 kB / 424.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.2769, allocations: 71.77 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.277, allocations: 8.234 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.2772, allocations: 51.77 kB / 425 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.2772, allocations: 23.86 kB / 425 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.2772, allocations: 4 kB / 425 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/0.2773, allocations: 8 kB / 425 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.2773, allocations: 23.91 kB / 425 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.2774, allocations: 27.8 kB / 425 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2775, allocations: 81.33 kB / 425.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2775, allocations: 4 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2775, allocations: 0 / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2775, allocations: 4 kB / 425.1 MB, free: 11.8 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.0005864/0.2781, allocations: 337.8 kB / 425.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2782, allocations: 8.031 kB / 425.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.2782, allocations: 42.73 kB / 425.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.2783, allocations: 8.891 kB / 425.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.2785, allocations: 150.3 kB / 425.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2786, allocations: 12.38 kB / 425.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2786, allocations: 4.375 kB / 425.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.2791, allocations: 224.7 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2791, allocations: 0 / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.2791, allocations: 4 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2791, allocations: 4 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.2793, allocations: 55.84 kB / 426 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.2797, allocations: 249.6 kB / 426.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2799, allocations: 95.75 kB / 426.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.28, allocations: 54.69 kB / 426.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.28, allocations: 4 kB / 426.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2801, allocations: 34.55 kB / 426.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2801, allocations: 8 kB / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004165/0.2805, allocations: 142 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.2806, allocations: 122.6 kB / 426.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.2807, allocations: 141.8 kB / 426.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2808, allocations: 29.7 kB / 426.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.2808, allocations: 84.14 kB / 426.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.2808, allocations: 19.88 kB / 426.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.2809, allocations: 29.67 kB / 427 MB, free: 9.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.2811, allocations: 326.8 kB / 427.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.2811, allocations: 24.17 kB / 427.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.2812, allocations: 93.42 kB / 427.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.2814, allocations: 113.2 kB / 427.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2814, allocations: 4 kB / 427.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002239/0.2816, allocations: 129.4 kB / 427.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2817, allocations: 4.344 kB / 427.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2817, allocations: 8 kB / 427.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2817, allocations: 4 kB / 427.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2818, allocations: 23.92 kB / 427.7 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.2818, allocations: 4 kB / 427.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.2819, allocations: 8 kB / 427.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2819, allocations: 8 kB / 427.7 MB, free: 8.93 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.0001484/0.282, allocations: 137.7 kB / 427.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.2822, allocations: 101.5 kB / 427.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.2823, allocations: 12.41 kB / 427.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2823, allocations: 7.984 kB / 427.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2823, allocations: 4 kB / 428 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2823, allocations: 0 / 428 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.2825, allocations: 152.6 kB / 428.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2825, allocations: 0 / 428.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2826, allocations: 19.98 kB / 428.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2826, allocations: 3.938 kB / 428.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2826, allocations: 8 kB / 428.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2826, allocations: 0 / 428.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2826, allocations: 0 / 428.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.2829, allocations: 229 kB / 428.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.283, allocations: 23.89 kB / 428.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.283, allocations: 12.06 kB / 428.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.2831, allocations: 11.98 kB / 428.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.2831, allocations: 0 / 428.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2831, allocations: 4 kB / 428.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.765e-05/0.2832, allocations: 118.2 kB / 428.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2832, allocations: 0 / 428.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.2835, allocations: 8 kB / 428.5 MB, free: 8.012 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.0008367/0.2843, allocations: 0.8175 MB / 429.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.2846, allocations: 79.88 kB / 429.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2846, allocations: 4 kB / 429.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.2846, allocations: 7.984 kB / 429.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.285, allocations: 52.16 kB / 429.5 MB, free: 7.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.287, allocations: 1.678 MB / 431.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.569e-05/0.2871, allocations: 88.05 kB / 431.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.2871, allocations: 12.48 kB / 431.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.2872, allocations: 27.44 kB / 431.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2872, allocations: 3.938 kB / 431.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.3233, allocations: 2.822 MB / 434.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.47, allocations: 0 / 434.1 MB, free: 2.371 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.131728337146342]