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.00132/0.00132, allocations: 113 kB / 17.07 MB, free: 6.008 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.001248/0.001248, allocations: 189.4 kB / 18 MB, free: 5.09 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 44.08 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2911, allocations: 49.45 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002996/0.2942, allocations: 1.575 MB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.2951, allocations: 494.9 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.2952, allocations: 3.938 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.2953, allocations: 3.938 kB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.2954, allocations: 19.84 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.2957, allocations: 47.83 kB / 402.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2958, allocations: 43.86 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.296, allocations: 16.17 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.296, allocations: 27.84 kB / 402.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.2961, allocations: 23.86 kB / 402.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2962, allocations: 4 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.2962, allocations: 0 / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.2962, allocations: 15.94 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.2963, allocations: 27.8 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.2964, allocations: 58.64 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2964, allocations: 0 / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2964, allocations: 0 / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2964, allocations: 0 / 402.6 MB, free: 6.477 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.0005308/0.297, allocations: 383 kB / 403 MB, free: 6.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.297, allocations: 12.03 kB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.2971, allocations: 38.69 kB / 403 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.2971, allocations: 12.89 kB / 403 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2974, allocations: 204.2 kB / 403.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2974, allocations: 4.375 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2975, allocations: 384 / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.2977, allocations: 121.8 kB / 403.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2978, allocations: 3.938 kB / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.2978, allocations: 0 / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2978, allocations: 4 kB / 403.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.946e-05/0.2979, allocations: 27.92 kB / 403.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.2982, allocations: 266.6 kB / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.2984, allocations: 75.78 kB / 403.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.2984, allocations: 30.64 kB / 403.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.2985, allocations: 3.984 kB / 403.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2985, allocations: 34.5 kB / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2985, allocations: 0 / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002774/0.2988, allocations: 85.56 kB / 403.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.2989, allocations: 110.8 kB / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.299, allocations: 144.5 kB / 404.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2991, allocations: 25.7 kB / 404.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.2991, allocations: 96.08 kB / 404.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.2991, allocations: 4.328 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.2993, allocations: 21.7 kB / 404.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.2995, allocations: 322.8 kB / 404.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.2995, allocations: 11.98 kB / 404.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.2996, allocations: 31.42 kB / 404.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.2997, allocations: 55.36 kB / 404.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2997, allocations: 4 kB / 404.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001403/0.2998, allocations: 65.56 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2999, allocations: 8 kB / 404.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2999, allocations: 0 / 404.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2999, allocations: 4.125 kB / 404.8 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.3, allocations: 11.98 kB / 404.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3, allocations: 7.938 kB / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.3001, allocations: 0 / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3001, allocations: 4 kB / 404.8 MB, free: 3.977 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 0.0001228/0.3002, allocations: 125.7 kB / 404.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.3003, allocations: 53.59 kB / 405 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3003, allocations: 11.86 kB / 405 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3003, allocations: 8.062 kB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3003, allocations: 0 / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3004, allocations: 0 / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.3006, allocations: 177.5 kB / 405.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3006, allocations: 0 / 405.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.3007, allocations: 11.98 kB / 405.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3007, allocations: 0 / 405.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3007, allocations: 8 kB / 405.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3007, allocations: 0 / 405.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3007, allocations: 0 / 405.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.301, allocations: 185.1 kB / 405.4 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.3011, allocations: 93.05 kB / 405.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3011, allocations: 4 kB / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.3012, allocations: 3.984 kB / 405.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.3012, allocations: 4 kB / 405.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3012, allocations: 4 kB / 405.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.3013, allocations: 114.5 kB / 405.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3013, allocations: 0 / 405.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.3016, allocations: 8 kB / 405.6 MB, free: 3.074 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.0005839/0.3022, allocations: 0.7179 MB / 406.3 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.3023, allocations: 27.92 kB / 406.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3024, allocations: 4 kB / 406.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.3024, allocations: 7.984 kB / 406.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3028, allocations: 24.42 kB / 406.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3043, allocations: 1.394 MB / 407.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3046, allocations: 0.7 MB / 408.5 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.575e-05/0.3046, allocations: 4 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.3047, allocations: 15.42 kB / 408.5 MB, free: 12 kB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.3047, allocations: 3.938 kB / 408.5 MB, free: 8 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.3267, allocations: 1.723 MB / 410.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.241, allocations: 7.875 kB / 410.2 MB, free: 14.39 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