Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000915/0.000915, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8849/0.8849, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.293e-05, allocations: 6.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002714/0.002737, allocations: 1.636 MB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.003536, allocations: 0.5997 MB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.003624, allocations: 3.938 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.003667, allocations: 3.938 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.003909, allocations: 23.8 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.004149, allocations: 91.58 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.00426, allocations: 79.72 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.00435, allocations: 15.97 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.004473, allocations: 47.89 kB / 327.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.004528, allocations: 31.91 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.004544, allocations: 7.938 kB / 327.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.214e-05/0.004586, allocations: 8 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.004635, allocations: 23.91 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.004672, allocations: 19.92 kB / 327.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.004817, allocations: 91.67 kB / 327.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.004819, allocations: 0 / 327.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00482, allocations: 0 / 327.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004824, allocations: 0 / 327.3 MB, free: 13.26 MB / 298.7 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.0004183/0.005243, allocations: 333.8 kB / 327.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.00528, allocations: 16.02 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.005312, allocations: 38.75 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.332e-05/0.005405, allocations: 24.83 kB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.005609, allocations: 150.1 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.005632, allocations: 8.375 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.005642, allocations: 4.375 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.005979, allocations: 226 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.005992, allocations: 0 / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006002, allocations: 0 / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.006008, allocations: 3.984 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.006107, allocations: 55.89 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.006376, allocations: 253.6 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.006496, allocations: 99.77 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.006565, allocations: 54.73 kB / 328.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.006587, allocations: 0 / 328.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.006606, allocations: 38.5 kB / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.006607, allocations: 0 / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002605/0.006868, allocations: 149.4 kB / 328.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.006927, allocations: 118.8 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.007018, allocations: 152.8 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.007029, allocations: 29.7 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.007065, allocations: 88.12 kB / 329.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.007086, allocations: 15.84 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.007114, allocations: 21.7 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.007191, allocations: 322.8 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.007219, allocations: 15.98 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.007254, allocations: 39.42 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.995e-05/0.007314, allocations: 55.36 kB / 329.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007315, allocations: 4 kB / 329.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.264e-05/0.007408, allocations: 86.06 kB / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.007419, allocations: 4 kB / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007423, allocations: 0 / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.007441, allocations: 4 kB / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.007501, allocations: 20.05 kB / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.007506, allocations: 4.156 kB / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.007529, allocations: 4 kB / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.007536, allocations: 4 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$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 (7): * Single equations (assignments): 7 * 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 6.968e-05/0.007605, allocations: 129.8 kB / 329.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.007706, allocations: 101.5 kB / 329.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.007737, allocations: 16.47 kB / 329.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007738, allocations: 0 / 329.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.007744, allocations: 4 kB / 329.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007747, allocations: 0 / 329.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.007861, allocations: 144.7 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007862, allocations: 8 kB / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.007923, allocations: 23.97 kB / 330.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007925, allocations: 0 / 330.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.007932, allocations: 7.938 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.007934, allocations: 4 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007935, allocations: 0 / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.0081, allocations: 225 kB / 330.3 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.008136, allocations: 23.89 kB / 330.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.00815, allocations: 4 kB / 330.3 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/0.008196, allocations: 8 kB / 330.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.00822, allocations: 7.984 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.008225, allocations: 4 kB / 330.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.968e-05/0.008275, allocations: 111.2 kB / 330.4 MB, free: 9.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008275, allocations: 0 / 330.4 MB, free: 9.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.008436, allocations: 16 kB / 330.5 MB, free: 9.691 MB / 298.7 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.0004116/0.008848, allocations: 0.8115 MB / 331.3 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.008973, allocations: 56.27 kB / 331.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008974, allocations: 0 / 331.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.008995, allocations: 15.98 kB / 331.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.00929, allocations: 65.92 kB / 331.4 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.01037, allocations: 1.516 MB / 332.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.746e-05/0.01044, allocations: 100.4 kB / 333 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.01046, allocations: 4.5 kB / 333 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.01051, allocations: 28.48 kB / 333.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01051, allocations: 0 / 333.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.02571, allocations: 2.911 MB / 336 MB, free: 4.168 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.067, allocations: 8.047 kB / 336 MB, free: 4.16 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.750147175043821]