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.0009781/0.0009781, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008578/0.0008578, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8724/0.8724, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.242e-06/1.242e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/1.998e-05, allocations: 3.406 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002119/0.002139, allocations: 1.644 MB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.002872, allocations: 0.592 MB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.00294, allocations: 11.94 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.752e-05/0.002978, allocations: 7.875 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.003174, allocations: 27.72 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.003383, allocations: 75.73 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.003481, allocations: 83.69 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.298e-05/0.003554, allocations: 15.98 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.003669, allocations: 47.89 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.003715, allocations: 27.89 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.00373, allocations: 4 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.529e-05/0.003765, allocations: 12 kB / 327.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.003804, allocations: 23.92 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.003834, allocations: 19.91 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003959, allocations: 91.64 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.00396, allocations: 0 / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003961, allocations: 0 / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.003964, allocations: 0 / 327.2 MB, free: 13.2 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.000373/0.004337, allocations: 333.8 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.004371, allocations: 19.92 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.004399, allocations: 38.73 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.004486, allocations: 28.83 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.00467, allocations: 142.2 kB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.004688, allocations: 8.375 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.004704, allocations: 4.375 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.005001, allocations: 241.3 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005008, allocations: 0 / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.005017, allocations: 0 / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005021, allocations: 4 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.005113, allocations: 51.95 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.005353, allocations: 253.6 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.00546, allocations: 95.77 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.005521, allocations: 54.75 kB / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.00554, allocations: 7.984 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.005558, allocations: 34.56 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.22e-07/0.005559, allocations: 7.938 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002463/0.005805, allocations: 145.5 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.005859, allocations: 114.8 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.005944, allocations: 144.8 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005954, allocations: 29.7 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.00599, allocations: 100.2 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.006005, allocations: 11.84 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.006033, allocations: 21.72 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.006106, allocations: 322.8 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.006133, allocations: 15.98 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.006165, allocations: 39.42 kB / 329.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.006223, allocations: 59.36 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.006225, allocations: 0 / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.829e-05/0.006313, allocations: 89.5 kB / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.006323, allocations: 4 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.006327, allocations: 4 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.006337, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.006385, allocations: 8 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.00639, allocations: 7.938 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.006412, allocations: 8.109 kB / 329.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.006417, allocations: 4 kB / 329.6 MB, free: 10.52 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.589e-05/0.006483, allocations: 129.2 kB / 329.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.006582, allocations: 97.52 kB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.006618, allocations: 20.45 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.006621, allocations: 4 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.006624, allocations: 0 / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.006629, allocations: 0.625 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.006745, allocations: 148.7 kB / 330 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006746, allocations: 0 / 330 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.006801, allocations: 23.92 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.006803, allocations: 8 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.006813, allocations: 11.98 kB / 330 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006814, allocations: 0 / 330 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006815, allocations: 160 / 330 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.006975, allocations: 221.1 kB / 330.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.932e-05/0.007054, allocations: 31.86 kB / 330.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.007074, allocations: 4 kB / 330.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.007139, allocations: 8 kB / 330.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.007166, allocations: 3.938 kB / 330.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.007174, allocations: 11.98 kB / 330.3 MB, free: 9.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.744e-05/0.007231, allocations: 111.2 kB / 330.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007231, allocations: 0 / 330.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.007384, allocations: 15.94 kB / 330.4 MB, free: 9.613 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.0004225/0.007807, allocations: 0.8077 MB / 331.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.007925, allocations: 55.89 kB / 331.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007926, allocations: 256 / 331.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.967e-05/0.007946, allocations: 19.98 kB / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.008215, allocations: 55.92 kB / 331.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.009218, allocations: 1.519 MB / 332.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.009278, allocations: 96.38 kB / 333 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.442e-05/0.009302, allocations: 4.484 kB / 333 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.009346, allocations: 28.48 kB / 333 MB, free: 6.867 MB / 298.7 MB Notification: Performance of SimCode: time 4.9e-07/0.009346, allocations: 0 / 333 MB, free: 6.867 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.02354, allocations: 2.902 MB / 335.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/6.609, allocations: 2.5 kB / 335.9 MB, free: 4.074 MB / 298.7 MB " [Timeout remaining time 653] (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/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_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: 8.224779203534126]