Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001202/0.001202, allocations: 108.1 kB / 16.92 MB, free: 5.762 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.001181/0.001181, allocations: 187.3 kB / 17.85 MB, free: 5.176 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.434/1.434, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 42.89 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09446, allocations: 49.44 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003139/0.09764, allocations: 1.557 MB / 351.7 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.09863, allocations: 490.6 kB / 352.2 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.09874, allocations: 4 kB / 352.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.09883, allocations: 7.922 kB / 352.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.09898, allocations: 11.88 kB / 352.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.09927, allocations: 51.83 kB / 352.3 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.09938, allocations: 43.8 kB / 352.3 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.09952, allocations: 20.17 kB / 352.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.0996, allocations: 27.91 kB / 352.4 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.09968, allocations: 23.86 kB / 352.4 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.0997, allocations: 7.938 kB / 352.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.09972, allocations: 4 kB / 352.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.0998, allocations: 11.94 kB / 352.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.09985, allocations: 27.8 kB / 352.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.09998, allocations: 51.81 kB / 352.5 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.09999, allocations: 0 / 352.5 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1, allocations: 0 / 352.5 MB, free: 2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1, allocations: 0 / 352.5 MB, free: 2 MB / 286.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.0004765/0.1005, allocations: 389.8 kB / 352.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1005, allocations: 8.031 kB / 352.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.1006, allocations: 38.75 kB / 352.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.1006, allocations: 12.78 kB / 352.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1008, allocations: 196.1 kB / 353.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1008, allocations: 8.375 kB / 353.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1008, allocations: 384 / 353.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.1011, allocations: 113 kB / 353.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1011, allocations: 7.938 kB / 353.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1011, allocations: 0 / 353.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1012, allocations: 0 / 353.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.368e-05/0.1012, allocations: 15.98 kB / 353.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.1015, allocations: 261.8 kB / 353.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.1016, allocations: 49.16 kB / 353.6 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.1017, allocations: 21.77 kB / 353.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1017, allocations: 0 / 353.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1017, allocations: 30.56 kB / 353.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/0.1018, allocations: 0 / 353.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002501/0.102, allocations: 77.52 kB / 353.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1021, allocations: 81.05 kB / 353.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1022, allocations: 137.8 kB / 353.9 MB, free: 360 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1023, allocations: 33.62 kB / 353.9 MB, free: 320 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.1023, allocations: 92.08 kB / 354 MB, free: 224 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1024, allocations: 4 kB / 354 MB, free: 220 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1024, allocations: 17.88 kB / 354 MB, free: 196 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1026, allocations: 326.8 kB / 354.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.1027, allocations: 4 kB / 354.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.1027, allocations: 21.7 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1028, allocations: 25.77 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1029, allocations: 4 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001679/0.103, allocations: 53.62 kB / 354.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1031, allocations: 8 kB / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1031, allocations: 0 / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1031, allocations: 0 / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1032, allocations: 7.984 kB / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1032, allocations: 0 / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.1033, allocations: 8 kB / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1033, allocations: 4.062 kB / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001127/0.1034, allocations: 117.7 kB / 354.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.1035, allocations: 45.59 kB / 354.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.1036, allocations: 7.875 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1036, allocations: 0 / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1036, allocations: 0 / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1036, allocations: 4 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.1038, allocations: 169.6 kB / 354.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1038, allocations: 3.938 kB / 354.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.1039, allocations: 12.02 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1039, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1039, allocations: 4 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1039, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1039, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1041, allocations: 176.2 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.1042, allocations: 101 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1042, allocations: 0 / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1043, allocations: 4 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.1043, allocations: 0 / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1043, allocations: 0 / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.1044, allocations: 118.6 kB / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1044, allocations: 0 / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1046, allocations: 4 kB / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004328/0.1051, allocations: 0.7014 MB / 355.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.1052, allocations: 19.98 kB / 356 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1052, allocations: 160 / 356 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.1053, allocations: 15.98 kB / 356 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1057, allocations: 15.97 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1069, allocations: 1.324 MB / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1071, allocations: 0.6885 MB / 358 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.947e-05/0.1072, allocations: 0 / 358 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.1072, allocations: 15.44 kB / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1072, allocations: 0 / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.1233, allocations: 1.592 MB / 359.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.02, allocations: 10.28 kB / 359.6 MB, free: 10.43 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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_ClockSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches