Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.0008184/0.0008184, 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.0008358/0.0008358, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.9019/0.9019, 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.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.645e-05, allocations: 2.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001831/0.001848, allocations: 1.603 MB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006579/0.002506, allocations: 0.5025 MB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.002579, allocations: 3.938 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.002618, allocations: 3.938 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.002745, allocations: 15.88 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.003016, allocations: 59.73 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.003112, allocations: 55.78 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.003195, allocations: 8.188 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.00331, allocations: 39.89 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.003354, allocations: 15.92 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.003369, allocations: 4 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.583e-05/0.003405, allocations: 4 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.003448, allocations: 15.97 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.003469, allocations: 19.88 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.00359, allocations: 59.73 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003592, allocations: 3.938 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003593, allocations: 4 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.003598, allocations: 0 / 326.9 MB, free: 13.44 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003797/0.003977, allocations: 305.9 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.004016, allocations: 11.98 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.004047, allocations: 34.75 kB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.004152, allocations: 20.88 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.004348, allocations: 142.2 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.004357, allocations: 384 / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.004367, allocations: 8.375 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.004593, allocations: 122 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.004602, allocations: 0 / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.00461, allocations: 3.984 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.004615, allocations: 0 / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.765e-05/0.004663, allocations: 23.98 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.004922, allocations: 245.6 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.656e-05/0.004999, allocations: 71.78 kB / 327.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.005039, allocations: 34.62 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.00506, allocations: 0 / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.005082, allocations: 38.56 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.005082, allocations: 3.938 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.005277, allocations: 85.84 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.005328, allocations: 110.8 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.005422, allocations: 152.7 kB / 328.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.005432, allocations: 25.7 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.005474, allocations: 96.08 kB / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.005487, allocations: 3.984 kB / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.005511, allocations: 17.67 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.005584, allocations: 318.8 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.005604, allocations: 7.984 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.005619, allocations: 4 kB / 328.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.005656, allocations: 32.84 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005658, allocations: 0 / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.531e-05/0.005713, allocations: 45.69 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.005724, allocations: 8 kB / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.005727, allocations: 0 / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.005738, allocations: 0 / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.00578, allocations: 3.984 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.005784, allocations: 4 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.005798, allocations: 4.031 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.005806, allocations: 3.984 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.956e-05/0.005865, allocations: 121.8 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.005908, allocations: 53.59 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.005932, allocations: 15.95 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005934, allocations: 0 / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.005938, allocations: 0 / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.005943, allocations: 4 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.006048, allocations: 140.7 kB / 329.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.006051, allocations: 4.047 kB / 329.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.006078, allocations: 12 kB / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00608, allocations: 0 / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006086, allocations: 0 / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006087, allocations: 0 / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006087, allocations: 4 kB / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.006197, allocations: 181 kB / 329.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.006224, allocations: 19.94 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.006233, allocations: 3.938 kB / 329.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.006267, allocations: 7.984 kB / 329.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.006289, allocations: 4 kB / 329.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.006292, allocations: 4 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.006339, allocations: 111.2 kB / 329.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006339, allocations: 0 / 329.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.006477, allocations: 8 kB / 329.6 MB, free: 10.48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002574/0.006734, allocations: 0.7024 MB / 330.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.006816, allocations: 23.98 kB / 330.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006817, allocations: 8 kB / 330.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.752e-05/0.006835, allocations: 11.92 kB / 330.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.007075, allocations: 35.45 kB / 330.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.007902, allocations: 1.326 MB / 331.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.656e-05/0.007959, allocations: 87.3 kB / 331.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.827e-05/0.007987, allocations: 8.078 kB / 331.8 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.008028, allocations: 20.48 kB / 331.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.008029, allocations: 4 kB / 331.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02311, allocations: 2.343 MB / 334.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.588/6.611, allocations: 9.062 kB / 334.1 MB, free: 5.859 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.370448873378336]