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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 112.1 kB / 17.06 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 198.8 kB / 18 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 52.06 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3181, allocations: 49.43 MB / 400.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003266/0.3214, allocations: 1.584 MB / 401.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008969/0.3223, allocations: 500 kB / 402.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.3224, allocations: 4 kB / 402.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.918e-05/0.3225, allocations: 7.922 kB / 402.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.3227, allocations: 7.875 kB / 402.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.323, allocations: 51.83 kB / 402.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3231, allocations: 43.84 kB / 402.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3232, allocations: 16.19 kB / 402.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.3233, allocations: 27.84 kB / 402.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.3234, allocations: 19.92 kB / 402.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3234, allocations: 4 kB / 402.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.3234, allocations: 0 / 402.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.3235, allocations: 15.92 kB / 402.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.3235, allocations: 27.81 kB / 402.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.3237, allocations: 58.62 kB / 402.6 MB, free: 6.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.3237, allocations: 4 kB / 402.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3237, allocations: 4 kB / 402.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3237, allocations: 0 / 402.6 MB, free: 6.562 MB / 318.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.000502/0.3242, allocations: 379 kB / 403 MB, free: 6.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3242, allocations: 12.03 kB / 403 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.3243, allocations: 34.75 kB / 403 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.3243, allocations: 8.891 kB / 403 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.3246, allocations: 204.2 kB / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3247, allocations: 8.375 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3247, allocations: 384 / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.325, allocations: 117.8 kB / 403.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.325, allocations: 3.938 kB / 403.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3251, allocations: 0 / 403.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3251, allocations: 4 kB / 403.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.3252, allocations: 23.98 kB / 403.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.3256, allocations: 270.5 kB / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.3257, allocations: 71.78 kB / 403.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.3258, allocations: 30.62 kB / 403.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3258, allocations: 8 kB / 403.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3258, allocations: 34.5 kB / 403.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.664e-06/0.3258, allocations: 4 kB / 403.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002884/0.3261, allocations: 85.5 kB / 403.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.3262, allocations: 106.8 kB / 404 MB, free: 4.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3264, allocations: 141.8 kB / 404.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3264, allocations: 25.7 kB / 404.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.3264, allocations: 96.45 kB / 404.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.3265, allocations: 7.953 kB / 404.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3265, allocations: 17.7 kB / 404.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3266, allocations: 318.8 kB / 404.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.3267, allocations: 11.98 kB / 404.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/0.3268, allocations: 35.42 kB / 404.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.3269, allocations: 55.3 kB / 404.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3269, allocations: 0 / 404.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/0.327, allocations: 73.52 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3271, allocations: 12.12 kB / 404.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3271, allocations: 0 / 404.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3271, allocations: 0 / 404.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.3272, allocations: 11.98 kB / 404.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3272, allocations: 0 / 404.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.3272, allocations: 4 kB / 404.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3273, allocations: 4 kB / 404.8 MB, free: 4.074 MB / 318.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 9.733e-05/0.3274, allocations: 121.8 kB / 404.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.3274, allocations: 53.59 kB / 404.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.3275, allocations: 19.86 kB / 405 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3275, allocations: 4 kB / 405 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3275, allocations: 0 / 405 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3275, allocations: 96 / 405 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3277, allocations: 173.6 kB / 405.1 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3277, allocations: 3.984 kB / 405.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.3278, allocations: 11.98 kB / 405.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3278, allocations: 0 / 405.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3278, allocations: 0 / 405.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3278, allocations: 8.062 kB / 405.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3278, allocations: 0 / 405.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.328, allocations: 181.1 kB / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.3281, allocations: 93.05 kB / 405.4 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.3281, allocations: 4 kB / 405.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.3282, allocations: 7.984 kB / 405.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.3282, allocations: 4 kB / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3282, allocations: 0 / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.175e-05/0.3283, allocations: 114 kB / 405.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3283, allocations: 3.938 kB / 405.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.3286, allocations: 4 kB / 405.6 MB, free: 3.176 MB / 318.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.000536/0.3291, allocations: 0.714 MB / 406.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3293, allocations: 39.91 kB / 406.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3293, allocations: 0 / 406.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.3293, allocations: 8.25 kB / 406.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3297, allocations: 34.61 kB / 406.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.3311, allocations: 1.396 MB / 407.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3315, allocations: 0.7 MB / 408.5 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.3315, allocations: 3.984 kB / 408.5 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.3316, allocations: 23.44 kB / 408.5 MB, free: 96 kB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3316, allocations: 0 / 408.5 MB, free: 96 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.3521, allocations: 1.72 MB / 410.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.023, allocations: 12.48 kB / 410.2 MB, free: 14.48 MB / 334.1 MB (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 3.6e-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) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches