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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 203.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 63.91 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2804, allocations: 53.39 MB / 431.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003278/0.2836, allocations: 1.62 MB / 432.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.285, allocations: 0.596 MB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.882e-05/0.2851, allocations: 3.938 kB / 433.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.2851, allocations: 7.922 kB / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.2854, allocations: 35.78 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.2857, allocations: 79.73 kB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.2859, allocations: 83.75 kB / 433.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.286, allocations: 4 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.2861, allocations: 47.77 kB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.2862, allocations: 31.86 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2862, allocations: 8 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.913e-05/0.2863, allocations: 11.98 kB / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.2863, allocations: 19.92 kB / 433.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.2864, allocations: 27.8 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2866, allocations: 93.2 kB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2866, allocations: 3.984 kB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2866, allocations: 0 / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.2866, allocations: 0 / 433.8 MB, free: 3.805 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.0005907/0.2872, allocations: 329.9 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2872, allocations: 15.98 kB / 434.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.2873, allocations: 46.67 kB / 434.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.2874, allocations: 24.83 kB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.2877, allocations: 154.4 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2877, allocations: 8.375 kB / 434.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2878, allocations: 7.938 kB / 434.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.2882, allocations: 224.5 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2883, allocations: 0 / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2883, allocations: 0 / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2883, allocations: 4 kB / 434.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.2884, allocations: 51.95 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.2888, allocations: 257.5 kB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.289, allocations: 103.9 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.2891, allocations: 50.61 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2891, allocations: 4 kB / 435.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2892, allocations: 34.56 kB / 435.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.2892, allocations: 0 / 435.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000431/0.2896, allocations: 145.5 kB / 435.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.2897, allocations: 114.8 kB / 435.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.2898, allocations: 149.7 kB / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2899, allocations: 29.83 kB / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.2899, allocations: 96.12 kB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.2899, allocations: 15.84 kB / 435.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.29, allocations: 33.7 kB / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2901, allocations: 318.8 kB / 436 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.2902, allocations: 19.98 kB / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2903, allocations: 96.31 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.2905, allocations: 121.3 kB / 436.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2905, allocations: 0 / 436.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002449/0.2907, allocations: 133.9 kB / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2908, allocations: 4 kB / 436.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2908, allocations: 4 kB / 436.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2908, allocations: 4 kB / 436.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2909, allocations: 27.98 kB / 436.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2909, allocations: 11.94 kB / 436.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.291, allocations: 16.22 kB / 436.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.291, allocations: 8 kB / 436.4 MB, free: 0.8867 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.0001196/0.2911, allocations: 129.8 kB / 436.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.2913, allocations: 93.56 kB / 436.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.2914, allocations: 20.39 kB / 436.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2914, allocations: 0 / 436.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2914, allocations: 4 kB / 436.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2914, allocations: 3.938 kB / 436.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.2916, allocations: 148.7 kB / 436.8 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2916, allocations: 4 kB / 436.8 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2917, allocations: 23.92 kB / 436.8 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2917, allocations: 4 kB / 436.8 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2917, allocations: 3.984 kB / 436.8 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2917, allocations: 4 kB / 436.8 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2917, allocations: 0 / 436.8 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.292, allocations: 225.1 kB / 437.1 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.2921, allocations: 31.81 kB / 437.1 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2921, allocations: 0 / 437.1 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.2922, allocations: 8 kB / 437.1 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.2922, allocations: 7.938 kB / 437.1 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2922, allocations: 7.984 kB / 437.1 MB, free: 100 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.2923, allocations: 114.8 kB / 437.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2923, allocations: 0 / 437.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.2926, allocations: 16 kB / 437.2 MB, free: 15.97 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.0007455/0.2934, allocations: 0.8038 MB / 438 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.2936, allocations: 80.56 kB / 438.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2936, allocations: 4.125 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.2936, allocations: 7.938 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.2941, allocations: 66.73 kB / 438.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.296, allocations: 1.673 MB / 439.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2962, allocations: 96.12 kB / 440 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.743e-05/0.2962, allocations: 12.47 kB / 440 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.2963, allocations: 27.44 kB / 440 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2963, allocations: 0 / 440 MB, free: 13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3257, allocations: 2.848 MB / 442.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.39, allocations: 4.062 kB / 442.9 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 648] (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 1.1957e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable superSampleIpo.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_trunk_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.082609531003982]