Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008209/0.0008209, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000772/0.000772, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9254/0.9254, allocations: 173.3 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.842e-05, allocations: 5.516 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003347/0.003376, allocations: 1.574 MB / 320 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.004379, allocations: 466.8 kB / 320.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.004484, allocations: 7.938 kB / 320.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.323e-05/0.004537, allocations: 3.938 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.004705, allocations: 23.8 kB / 320.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.005021, allocations: 47.77 kB / 320.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.00516, allocations: 51.78 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.005285, allocations: 20.09 kB / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.005403, allocations: 27.92 kB / 320.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.16e-05/0.005465, allocations: 15.97 kB / 320.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.005495, allocations: 4 kB / 320.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.005509, allocations: 7.938 kB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.005569, allocations: 11.98 kB / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.005598, allocations: 7.938 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.005737, allocations: 55.8 kB / 320.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.005741, allocations: 7.938 kB / 320.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.005743, allocations: 0 / 320.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.005748, allocations: 0 / 320.8 MB, free: 4.023 MB / 282.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.0005209/0.006269, allocations: 301.3 kB / 321.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.006321, allocations: 8.922 kB / 321.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.006369, allocations: 42.73 kB / 321.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.006406, allocations: 12.84 kB / 321.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.006712, allocations: 145.6 kB / 321.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.006724, allocations: 4.375 kB / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.006737, allocations: 4.375 kB / 321.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.007092, allocations: 114.5 kB / 321.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.007103, allocations: 192 / 321.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.007115, allocations: 3.938 kB / 321.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.007121, allocations: 0 / 321.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.007214, allocations: 27.92 kB / 321.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.00759, allocations: 237.7 kB / 321.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.007709, allocations: 71.78 kB / 321.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.00777, allocations: 38.56 kB / 321.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.007799, allocations: 0 / 321.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.007831, allocations: 34.56 kB / 321.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.007832, allocations: 0 / 321.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002608/0.008093, allocations: 81.94 kB / 321.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.008158, allocations: 114.8 kB / 322 MB, free: 2.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.00828, allocations: 145.8 kB / 322.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.008292, allocations: 25.7 kB / 322.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.008343, allocations: 88.14 kB / 322.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.008361, allocations: 7.953 kB / 322.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.008396, allocations: 13.7 kB / 322.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.008498, allocations: 318.8 kB / 322.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.008534, allocations: 4 kB / 322.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.008556, allocations: 7.984 kB / 322.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.807e-05/0.008614, allocations: 28.84 kB / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.008617, allocations: 0 / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001052/0.008722, allocations: 61.52 kB / 322.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.008738, allocations: 4 kB / 322.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008744, allocations: 0 / 322.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.008758, allocations: 0 / 322.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.008839, allocations: 7.984 kB / 322.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.008845, allocations: 0 / 322.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.008872, allocations: 8.031 kB / 322.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.00888, allocations: 0 / 322.7 MB, free: 1.852 MB / 282.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 8.763e-05/0.008967, allocations: 113.8 kB / 322.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.009055, allocations: 57.52 kB / 322.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.009091, allocations: 7.969 kB / 322.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.009098, allocations: 7.984 kB / 322.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.009104, allocations: 0 / 322.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009108, allocations: 0 / 322.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.009278, allocations: 144.6 kB / 323 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.009281, allocations: 8.062 kB / 323 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.009347, allocations: 11.98 kB / 323 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.00935, allocations: 0 / 323 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.00936, allocations: 8 kB / 323 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.009362, allocations: 0 / 323 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009364, allocations: 0 / 323 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.00955, allocations: 181.1 kB / 323.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.009597, allocations: 15.97 kB / 323.2 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.009617, allocations: 8 kB / 323.2 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.00969, allocations: 0 / 323.2 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.009728, allocations: 11.98 kB / 323.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.009732, allocations: 3.938 kB / 323.3 MB, free: 1.199 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.697e-05/0.009809, allocations: 106.2 kB / 323.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.00981, allocations: 4 kB / 323.4 MB, free: 1.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01005, allocations: 4 kB / 323.4 MB, free: 1.09 MB / 282.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.0004695/0.01052, allocations: 0.7101 MB / 324.1 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.01067, allocations: 27.98 kB / 324.1 MB, free: 328 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01067, allocations: 0 / 324.1 MB, free: 328 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.01071, allocations: 7.984 kB / 324.1 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.01111, allocations: 42.8 kB / 324.1 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.01245, allocations: 1.311 MB / 325.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.01251, allocations: 87.66 kB / 325.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.01255, allocations: 0 / 325.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.0126, allocations: 16.5 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.313e-06/0.0126, allocations: 0 / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.03091, allocations: 2.389 MB / 328 MB, free: 12.49 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.773, allocations: 18.89 kB / 328 MB, free: 12.47 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.657560370862484]