Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002564/0.002564, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 61.16 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1635, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003966/0.1675, allocations: 1.597 MB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1687, allocations: 0.5493 MB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1688, allocations: 3.938 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.265e-05/0.1689, allocations: 7.938 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.1691, allocations: 15.86 kB / 359.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.1695, allocations: 55.81 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1696, allocations: 47.86 kB / 359.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1697, allocations: 20.16 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1698, allocations: 35.78 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.1699, allocations: 15.92 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1699, allocations: 4 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.17, allocations: 8 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.1701, allocations: 11.94 kB / 360 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.1701, allocations: 35.73 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1703, allocations: 59.8 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1703, allocations: 0 / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1703, allocations: 0 / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1703, allocations: 0 / 360 MB, free: 11.55 MB / 302.1 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.000566/0.1709, allocations: 383.3 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.171, allocations: 8.031 kB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.688e-05/0.171, allocations: 46.69 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.1712, allocations: 16.83 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1715, allocations: 196.7 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1716, allocations: 8.125 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1716, allocations: 4 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.1719, allocations: 117.9 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1719, allocations: 0 / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1719, allocations: 0 / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.172, allocations: 0 / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/0.1721, allocations: 23.92 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.1725, allocations: 282.5 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1726, allocations: 67.78 kB / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.1727, allocations: 30.64 kB / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1727, allocations: 8 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1727, allocations: 42.48 kB / 361.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1727, allocations: 0 / 361.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002877/0.173, allocations: 85.5 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.1731, allocations: 107.2 kB / 361.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1733, allocations: 153.7 kB / 361.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1734, allocations: 25.7 kB / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.1735, allocations: 92.05 kB / 361.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.1735, allocations: 4 kB / 361.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.1735, allocations: 21.64 kB / 361.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1737, allocations: 318.8 kB / 362 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.1738, allocations: 7.984 kB / 362.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.1739, allocations: 39.38 kB / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.174, allocations: 39.42 kB / 362.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.174, allocations: 11.94 kB / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001968/0.1742, allocations: 69.52 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.1743, allocations: 8 kB / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1743, allocations: 0 / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1743, allocations: 0 / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1744, allocations: 11.98 kB / 362.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.1744, allocations: 11.92 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.1745, allocations: 4 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1745, allocations: 8.125 kB / 362.3 MB, free: 9.035 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001316/0.1747, allocations: 126.8 kB / 362.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1748, allocations: 49.61 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.1748, allocations: 11.86 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1749, allocations: 4 kB / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1749, allocations: 3.938 kB / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1749, allocations: 0 / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.1751, allocations: 177.6 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1752, allocations: 4.062 kB / 362.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.1752, allocations: 15.92 kB / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1753, allocations: 0 / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1753, allocations: 4 kB / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1753, allocations: 0 / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1753, allocations: 3.938 kB / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1756, allocations: 177.2 kB / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1757, allocations: 97 kB / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.1757, allocations: 0 / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1758, allocations: 7.984 kB / 362.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.1759, allocations: 3.938 kB / 362.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1759, allocations: 0 / 362.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.176, allocations: 118.6 kB / 363 MB, free: 8.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1761, allocations: 0 / 363 MB, free: 8.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1764, allocations: 12 kB / 363.1 MB, free: 8.129 MB / 302.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: 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.000644/0.1771, allocations: 0.7101 MB / 363.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1773, allocations: 35.92 kB / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1773, allocations: 0 / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.1774, allocations: 7.984 kB / 363.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.178, allocations: 35.89 kB / 363.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.1799, allocations: 1.397 MB / 365.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1803, allocations: 0.6885 MB / 365.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.424e-05/0.1804, allocations: 4.234 kB / 365.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.1805, allocations: 23.42 kB / 366 MB, free: 5.066 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1805, allocations: 0 / 366 MB, free: 5.066 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.2026, allocations: 1.705 MB / 367.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.597, allocations: 14.17 kB / 367.7 MB, free: 3.441 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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 3.6e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches