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.001821/0.001821, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002188/0.002188, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.403/1.403, allocations: 230.2 MB / 254.5 MB, free: 15.09 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.001813/0.001813, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09869, allocations: 53.32 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002698/0.1014, allocations: 1.628 MB / 428.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1025, allocations: 0.6349 MB / 428.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.1025, allocations: 0 / 428.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.1026, allocations: 11.86 kB / 429 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.1028, allocations: 27.81 kB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1031, allocations: 91.64 kB / 429.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1032, allocations: 71.83 kB / 429.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.1033, allocations: 8 kB / 429.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1035, allocations: 47.77 kB / 429.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.1035, allocations: 35.78 kB / 429.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1036, allocations: 8 kB / 429.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.1036, allocations: 12 kB / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.1036, allocations: 19.91 kB / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.1037, allocations: 35.75 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1039, allocations: 95.56 kB / 429.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1039, allocations: 0 / 429.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1039, allocations: 0 / 429.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1039, allocations: 0 / 429.4 MB, free: 2.238 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.0005675/0.1044, allocations: 407 kB / 429.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1045, allocations: 12.03 kB / 429.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1045, allocations: 34.75 kB / 429.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1046, allocations: 24.83 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1049, allocations: 220 kB / 430.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1049, allocations: 8.375 kB / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.105, allocations: 7.938 kB / 430.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.1054, allocations: 223.5 kB / 430.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1054, allocations: 0 / 430.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1054, allocations: 0 / 430.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1054, allocations: 3.984 kB / 430.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1056, allocations: 59.89 kB / 430.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.1059, allocations: 294.5 kB / 430.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1061, allocations: 96 kB / 430.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1062, allocations: 50.5 kB / 430.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1063, allocations: 4 kB / 430.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1063, allocations: 34.56 kB / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1063, allocations: 0 / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003944/0.1067, allocations: 145.5 kB / 431 MB, free: 440 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.1068, allocations: 118.9 kB / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1069, allocations: 149.8 kB / 431.2 MB, free: 136 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1069, allocations: 25.7 kB / 431.3 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.107, allocations: 88.14 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1856/0.2926, allocations: 17.33 kB / 431.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.2926, allocations: 29.12 kB / 431.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.2927, allocations: 320.1 kB / 431.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.2928, allocations: 18.22 kB / 431.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.872e-05/0.2929, allocations: 96.95 kB / 431.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.293, allocations: 120.8 kB / 431.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.293, allocations: 0.875 kB / 431.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002354/0.2932, allocations: 131.1 kB / 432.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2933, allocations: 9.828 kB / 432.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2933, allocations: 2.844 kB / 432.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.2933, allocations: 7.859 kB / 432.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2934, allocations: 22.02 kB / 432.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2934, allocations: 7.828 kB / 432.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.2935, allocations: 19.17 kB / 432.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2935, allocations: 6.25 kB / 432.1 MB, free: 10.69 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 9.67e-05/0.2936, allocations: 122.8 kB / 432.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.2938, allocations: 102.5 kB / 432.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.2938, allocations: 22 kB / 432.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2938, allocations: 1.531 kB / 432.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.2939, allocations: 7.25 kB / 432.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2939, allocations: 0.5625 kB / 432.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.294, allocations: 181.7 kB / 432.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.294, allocations: 0.7188 kB / 432.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.2941, allocations: 21.23 kB / 432.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2941, allocations: 3.219 kB / 432.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2941, allocations: 2.984 kB / 432.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2941, allocations: 9.391 kB / 432.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2941, allocations: 2.281 kB / 432.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.2944, allocations: 231.8 kB / 432.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.2945, allocations: 101.1 kB / 432.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.2945, allocations: 6.156 kB / 432.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.2946, allocations: 9.312 kB / 433 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.2946, allocations: 2.938 kB / 433 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2946, allocations: 3.219 kB / 433 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.712e-05/0.2947, allocations: 114.7 kB / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2947, allocations: 0 / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.2949, allocations: 19.06 kB / 433.1 MB, free: 10.02 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.0005257/0.2955, allocations: 0.8138 MB / 433.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2957, allocations: 79.11 kB / 434 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2957, allocations: 0 / 434 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.2957, allocations: 9.062 kB / 434 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.2961, allocations: 62.97 kB / 434.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2975, allocations: 1.683 MB / 435.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.2976, allocations: 0.7065 MB / 436.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.2976, allocations: 6.203 kB / 436.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.2977, allocations: 25.69 kB / 436.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2977, allocations: 1.031 kB / 436.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.3208, allocations: 2.284 MB / 438.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.141, allocations: 9.953 kB / 438.8 MB, free: 6.879 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.490177780855447]